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
|
2020-04-29 08:52:21 +02:00
|
|
|
schedule:
|
2020-10-26 17:56:16 +01:00
|
|
|
- cron: "0 2 * * 5"
|
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
|
2020-04-29 08:52:21 +02:00
|
|
|
|
|
|
|
steps:
|
2020-04-29 15:57:10 +02:00
|
|
|
- name: Checkout repository
|
|
|
|
uses: actions/checkout@v2
|
2020-04-29 08:52:21 +02:00
|
|
|
|
2020-10-26 17:56:16 +01:00
|
|
|
# Initializes the CodeQL tools for scanning.
|
2020-04-29 15:57:10 +02:00
|
|
|
- name: Initialize CodeQL
|
|
|
|
uses: github/codeql-action/init@v1
|
|
|
|
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: Autobuild
|
|
|
|
uses: github/codeql-action/autobuild@v1
|
2020-04-29 08:52:21 +02:00
|
|
|
|
2020-04-29 15:57:10 +02:00
|
|
|
- name: Perform CodeQL Analysis
|
|
|
|
uses: github/codeql-action/analyze@v1
|