Remove CodeQL Scanning for release branches (#33723)

* Remove CodeQL Scanning for release branches

In RFD 114 (PR #32233) we setup mirroring for the Teleport release branches to the `teleport-sec-scan` repos.  There are several advantages to moving the CodeQL scanning to these repos:
* It removes the manual process described in `preflight` to update the codeql scanning branch
* It solves the issue of alerts being repeatedly opened and closed as they are found on release branches and only fixed in master, for example: https://github.com/gravitational/teleport/security/code-scanning/560

As such CodeQL has already been configured on these repos and the initial findings triaged: https://github.com/gravitational/teleport-sec-scan-1/blob/master/.github/workflows/codeql-mirror.yml

* codeql: Comment relaese branch scanning
This commit is contained in:
Mike Jensen 2023-10-20 11:08:16 -06:00 committed by GitHub
parent 4bed1c2b79
commit 7452614827
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
2 changed files with 1 additions and 3 deletions

View file

@ -17,7 +17,7 @@ jobs:
strategy:
fail-fast: false
matrix:
branch: [ 'master', 'branch/v12', 'branch/v13', 'branch/v14' ]
branch: [ 'master' ] # release branches are scanned in teleport-sec-scan repos (see RFD 147)
language: [ 'go', 'javascript' ]
steps:

View file

@ -16,5 +16,3 @@ This checklist is to be run prior to cutting the release branch.
`public.ecr.aws`
- [ ] Update the list of OCI images to rebuild nightly in
[`rebuild-teleport-oci-distroless-cron.yml` on `master`](https://github.com/gravitational/teleport.e/blob/master/.github/workflows/rebuild-teleport-oci-distroless-cron.yml)
- [ ] Update `.github/workflow/codeql.yml` configuration to list the new release
branch. The oldest release branch listed can simultaneously be removed.