2020-10-26 17:56:16 +01:00
|
|
|
name: "CodeQL"
|
2020-04-29 08:52:21 +02:00
|
|
|
|
|
|
|
on:
|
|
|
|
push:
|
2020-11-24 07:35:33 +01:00
|
|
|
branches:
|
|
|
|
- main
|
|
|
|
- v4-dev
|
|
|
|
- "!dependabot/**"
|
2020-10-26 17:56:16 +01:00
|
|
|
pull_request:
|
2020-11-24 07:35:33 +01:00
|
|
|
branches:
|
|
|
|
- main
|
|
|
|
- v4-dev
|
2021-03-02 15:09:49 +01:00
|
|
|
- "!dependabot/**"
|
2020-04-29 08:52:21 +02:00
|
|
|
schedule:
|
2023-03-14 08:10:31 +01:00
|
|
|
- cron: "0 2 * * 4"
|
2021-12-02 22:02:11 +01:00
|
|
|
workflow_dispatch:
|
2020-04-29 08:52:21 +02:00
|
|
|
|
|
|
|
jobs:
|
2020-10-26 17:56:16 +01:00
|
|
|
analyze:
|
|
|
|
name: Analyze
|
2020-04-29 15:57:10 +02:00
|
|
|
runs-on: ubuntu-latest
|
2021-09-14 08:07:59 +02:00
|
|
|
permissions:
|
|
|
|
security-events: write
|
2020-04-29 08:52:21 +02:00
|
|
|
|
|
|
|
steps:
|
2020-04-29 15:57:10 +02:00
|
|
|
- name: Checkout repository
|
2022-03-02 15:51:46 +01:00
|
|
|
uses: actions/checkout@v3
|
2022-11-09 08:21:55 +01:00
|
|
|
with:
|
|
|
|
persist-credentials: false
|
2020-04-29 08:52:21 +02:00
|
|
|
|
2020-04-29 15:57:10 +02:00
|
|
|
- name: Initialize CodeQL
|
2022-05-10 08:33:45 +02:00
|
|
|
uses: github/codeql-action/init@v2
|
2020-04-29 15:57:10 +02:00
|
|
|
with:
|
2022-11-14 17:40:09 +01:00
|
|
|
config-file: ./.github/codeql/codeql-config.yml
|
2020-11-24 07:35:33 +01:00
|
|
|
languages: "javascript"
|
2022-11-12 12:09:35 +01:00
|
|
|
queries: +security-and-quality
|
|
|
|
|
|
|
|
- name: Autobuild
|
|
|
|
uses: github/codeql-action/autobuild@v2
|
2020-04-29 08:52:21 +02:00
|
|
|
|
2020-04-29 15:57:10 +02:00
|
|
|
- name: Perform CodeQL Analysis
|
2022-05-10 08:33:45 +02:00
|
|
|
uses: github/codeql-action/analyze@v2
|
2022-11-12 12:09:35 +01:00
|
|
|
with:
|
|
|
|
category: "/language:javascript"
|