Merge pull request #3205 from DaanDeMeyer/tools #6972
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
--- | |
# vi: ts=2 sw=2 et: | |
# | |
name: "CodeQL" | |
on: | |
push: | |
branches: | |
- main | |
pull_request: | |
branches: | |
- main | |
permissions: | |
contents: read | |
jobs: | |
analyze: | |
name: Analyze | |
runs-on: ubuntu-24.04 | |
concurrency: | |
group: ${{ github.workflow }}-${{ matrix.language }}-${{ github.ref }} | |
cancel-in-progress: true | |
permissions: | |
actions: read | |
security-events: write | |
strategy: | |
fail-fast: false | |
matrix: | |
language: ['python'] | |
steps: | |
- name: Checkout repository | |
uses: actions/checkout@11bd71901bbe5b1630ceea73d27597364c9af683 | |
- name: Initialize CodeQL | |
uses: github/codeql-action/init@662472033e021d55d94146f66f6058822b0b39fd | |
with: | |
languages: ${{ matrix.language }} | |
queries: +security-extended,security-and-quality | |
- name: Autobuild | |
uses: github/codeql-action/autobuild@662472033e021d55d94146f66f6058822b0b39fd | |
- name: Perform CodeQL Analysis | |
uses: github/codeql-action/analyze@662472033e021d55d94146f66f6058822b0b39fd |