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
|
|
|
# The branches below must be a subset of the branches above
|
|
|
|
branches:
|
|
|
|
- main
|
|
|
|
- v4-dev
|
2021-03-02 15:09:49 +01:00
|
|
|
- "!dependabot/**"
|
2020-04-29 08:52:21 +02:00
|
|
|
schedule:
|
2020-10-26 17:56:16 +01:00
|
|
|
- cron: "0 2 * * 5"
|
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:
|
|
|
|
actions: read
|
|
|
|
contents: read
|
|
|
|
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:
|
2020-11-24 07:35:33 +01:00
|
|
|
languages: "javascript"
|
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
|