github / codeql-action

Actions for running CodeQL analysis
MIT License
1.14k stars 313 forks source link

Exclude push-only unit tests job from required PR checks script #2409

Closed henrymercer closed 1 month ago

henrymercer commented 1 month ago

The "Check JS" job and "Unit Test" job are both in the same workflow. On push, we run the "Check JS" job but skip the "Unit Test" run to save compute. This results in a skipped (non-matrixed) "Unit Test" job. This PR makes sure that that "Unit Test" job doesn't get included in the required checks for main and the release branches, which we maintain via a script.

Merge / deployment checklist