| name: Github Actions CodeQL |
| |
| permissions: |
| contents: read |
| |
| on: |
| pull_request: |
| branches: |
| - main |
| paths: |
| - '.github/**' |
| schedule: |
| - cron: '30 0 * * *' |
| |
| concurrency: |
| group: ${{ github.workflow }} |
| cancel-in-progress: true |
| |
| jobs: |
| codeql: |
| name: 'Github Actions CodeQL' |
| runs-on: ubuntu-24.04 |
| permissions: |
| security-events: write |
| steps: |
| - name: Checkout LLVM |
| uses: actions/checkout@df4cb1c069e1874edd31b4311f1884172cec0e10 # v6.0.3 |
| with: |
| persist-credentials: false |
| sparse-checkout: | |
| .github/ |
| - name: Initialize CodeQL |
| uses: github/codeql-action/init@99df26d4f13ea111d4ec1a7dddef6063f76b97e9 # v4.37.0 |
| with: |
| languages: actions |
| queries: security-extended |
| - name: Perform CodeQL Analysis |
| uses: github/codeql-action/analyze@99df26d4f13ea111d4ec1a7dddef6063f76b97e9 # v4.37.0 |