Code Scanning - Action #86
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: "Code Scanning - Action" | |
| # yamllint disable-line rule:truthy | |
| on: | |
| # Will cause a run on gerrit change merges | |
| push: | |
| branches: [main] | |
| schedule: | |
| # ┌───────────── minute (0 - 59) | |
| # │ ┌───────────── hour (0 - 23) | |
| # │ │ ┌───────────── day of the month (1 - 31) | |
| # │ │ │ ┌───────────── month (1 - 12 or JAN-DEC) | |
| # │ │ │ │ ┌───────────── day of the week (0 - 6 or SUN-SAT) | |
| # │ │ │ │ │ | |
| # │ │ │ │ │ | |
| # │ │ │ │ │ | |
| # * * * * * | |
| - cron: '30 3 * * 0' | |
| jobs: | |
| CodeQL-Build: | |
| # CodeQL runs on ubuntu-latest, windows-latest, and macos-latest | |
| runs-on: ubuntu-latest | |
| permissions: | |
| # required for all workflows | |
| security-events: write | |
| steps: | |
| - name: Checkout repository | |
| # yamllint disable-line rule:line-length | |
| uses: actions/checkout@8e8c483db84b4bee98b60c0593521ed34d9990e8 # v6.0.1 | |
| # Initializes the CodeQL tools for scanning. | |
| - name: Initialize CodeQL | |
| # yamllint disable-line rule:line-length | |
| uses: github/codeql-action/init@cdefb33c0f6224e58673d9004f47f7cb3e328b89 # v4.31.10 | |
| with: | |
| languages: python | |
| - name: Perform CodeQL Analysis | |
| # yamllint disable-line rule:line-length | |
| uses: github/codeql-action/analyze@cdefb33c0f6224e58673d9004f47f7cb3e328b89 # v4.31.10 |