| 1 |
name: "CodeQL" |
| 2 |
|
| 3 |
on: |
| 4 |
push: |
| 5 |
branches: [ master, apprise-v1-release ] |
| 6 |
pull_request: |
| 7 |
branches: [ master, apprise-v1-release ] |
| 8 |
schedule: |
| 9 |
- cron: '42 15 * * 5' |
| 10 |
|
| 11 |
# Cancel in-progress jobs when pushing to the same branch. |
| 12 |
concurrency: |
| 13 |
cancel-in-progress: true |
| 14 |
group: ${{ github.workflow }}-${{ github.ref }} |
| 15 |
|
| 16 |
jobs: |
| 17 |
analyze: |
| 18 |
name: Analyze |
| 19 |
runs-on: ubuntu-latest |
| 20 |
permissions: |
| 21 |
actions: read |
| 22 |
contents: read |
| 23 |
security-events: write |
| 24 |
|
| 25 |
strategy: |
| 26 |
fail-fast: false |
| 27 |
matrix: |
| 28 |
language: [ 'python' ] |
| 29 |
|
| 30 |
steps: |
| 31 |
- name: Checkout repository |
| 32 |
uses: actions/checkout@v7 |
| 33 |
|
| 34 |
# Initializes the CodeQL tools for scanning. |
| 35 |
- name: Initialize CodeQL |
| 36 |
uses: github/codeql-action/init@v4 |
| 37 |
with: |
| 38 |
languages: ${{ matrix.language }} |
| 39 |
|
| 40 |
- name: Autobuild |
| 41 |
uses: github/codeql-action/autobuild@v4 |
| 42 |
|
| 43 |
- name: Perform CodeQL Analysis |
| 44 |
uses: github/codeql-action/analyze@v4 |