Remove branch filter for PR event in CodeQL workflow by mbg · Pull Request #3335 · github/codeql-action (original) (raw)

This brings the CodeQL workflow in line with other PR checks. The CodeQL workflow is required by the branch protection rule for main, but may not trigger if a PR originally targeted a non-main branch and the target branch subsequently changes (e.g. because the targeted branch was merged into main).

Risk assessment

For internal use only. Please select the risk level of this change:

Which use cases does this change impact?

Environments:

How did/will you validate this change?

CI

If something goes wrong after this change is released, what are the mitigation and rollback strategies?

How will you know if something goes wrong after this change is released?

N/A

Are there any special considerations for merging or releasing this change?

Merge / deployment checklist