Cherry pick #3429 and #3431; longevity results and GKE annotation fix… #12407
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 | |
| - release-* | |
| pull_request: | |
| branches: | |
| - main | |
| - release-* | |
| schedule: | |
| - cron: "39 13 * * 6" # run every Saturday at 13:39 UTC | |
| concurrency: | |
| group: ${{ github.ref_name }}-codeql | |
| cancel-in-progress: true | |
| permissions: | |
| contents: read | |
| jobs: | |
| codeql: | |
| permissions: | |
| packages: read | |
| actions: read # for github/codeql-action/init to get workflow details | |
| contents: read # for actions/checkout to fetch code | |
| security-events: write # for github/codeql-action/autobuild to send a status report | |
| uses: nginxinc/compliance-rules/.github/workflows/codeql.yml@a27656f8f9a8748085b434ebe007f5b572709aad # v0.2 | |
| with: | |
| requested_languages: go,javascript-typescript,actions |