Advisory locking for metadata and artifacts files #1965
This file contains hidden or 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
name: "CodeQL Analysis" | |
on: | |
push: | |
branches: [ develop ] | |
pull_request: | |
branches: [ develop ] | |
schedule: | |
- cron: '30 0 * * 2' | |
workflow_dispatch: | |
permissions: {} | |
jobs: | |
analyze: | |
name: Analyze | |
runs-on: ubuntu-latest | |
permissions: | |
# NOTE: If you add security critical permissions, start pinning used actions | |
actions: read | |
contents: read | |
security-events: write # for uploading to code-scanning dashboard | |
steps: | |
- name: Checkout repository | |
uses: actions/checkout@08c6903cd8c0fde910a37f88322edcfb5dd907a8 # v5.0.0 | |
with: | |
persist-credentials: false | |
- name: Initialize CodeQL | |
uses: github/codeql-action/init@v3 # zizmor: ignore[unpinned-uses] | |
with: | |
languages: 'python' | |
- name: Perform CodeQL Analysis | |
uses: github/codeql-action/analyze@v3 # zizmor: ignore[unpinned-uses] |