Configure CI/CD: CodeQL and License Header Checks #3
Workflow file for this run
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 | |
| on: | |
| push: | |
| branches: ["main", "master"] | |
| paths-ignore: | |
| - '**/*.md' | |
| - 'docs/**' | |
| - '.github/**' | |
| pull_request: | |
| branches: ["main", "master"] | |
| paths-ignore: | |
| - '**/*.md' | |
| - 'docs/**' | |
| - '.github/**' | |
| schedule: | |
| - cron: '39 5 * * 5' | |
| jobs: | |
| analyze: | |
| name: Analyze | |
| runs-on: ubuntu-latest | |
| permissions: | |
| actions: read | |
| contents: read | |
| security-events: write | |
| steps: | |
| - name: Checkout repository | |
| uses: actions/checkout@v4 | |
| # Initialize CodeQL with auto language detection (v4) | |
| - name: Initialize CodeQL | |
| uses: github/codeql-action/init@v4 | |
| with: | |
| languages: auto | |
| # Autobuild attempts to build compiled languages; continue on error for script-only repos | |
| - name: Autobuild | |
| uses: github/codeql-action/autobuild@v4 | |
| continue-on-error: true | |
| # Perform the CodeQL analysis | |
| - name: Perform CodeQL Analysis | |
| uses: github/codeql-action/analyze@v4 |