| 1 |
name: "CodeQL" |
| 2 |
|
| 3 |
on: |
| 4 |
push: |
| 5 |
branches: |
| 6 |
- master |
| 7 |
- "!dependabot/**" |
| 8 |
pull_request: |
| 9 |
branches: |
| 10 |
- master |
| 11 |
schedule: |
| 12 |
- cron: "0 0 * * 0" |
| 13 |
workflow_dispatch: |
| 14 |
|
| 15 |
jobs: |
| 16 |
analyze: |
| 17 |
name: Analyze |
| 18 |
runs-on: ubuntu-latest |
| 19 |
permissions: |
| 20 |
actions: read |
| 21 |
contents: read |
| 22 |
security-events: write |
| 23 |
|
| 24 |
steps: |
| 25 |
- name: Checkout repository |
| 26 |
uses: actions/checkout@v2 |
| 27 |
|
| 28 |
- name: Initialize CodeQL |
| 29 |
uses: github/codeql-action/init@v1 |
| 30 |
with: |
| 31 |
languages: "javascript" |
| 32 |
|
| 33 |
- name: Perform CodeQL Analysis |
| 34 |
uses: github/codeql-action/analyze@v1 |