ci: add explicit CodeQL workflow for fork PR support#959
Conversation
GitHub's default CodeQL setup does not run on pull requests from forks, causing the required CodeQL status check to block external contributions. Replace it with an explicit workflow file that triggers on pull_request.
Codecov Report✅ All modified and coverable lines are covered by tests. Additional details and impacted files@@ Coverage Diff @@
## main #959 +/- ##
=======================================
Coverage 95.58% 95.58%
=======================================
Files 204 204
Lines 8968 8968
Branches 2553 2553
=======================================
Hits 8572 8572
Misses 294 294
Partials 102 102
Flags with carried forward coverage won't be shown. Click here to find out more. 🚀 New features to boost your workflow:
|
|
This pull request sets up GitHub code scanning for this repository. Once the scans have completed and the checks have passed, the analysis results for this pull request branch will appear on this overview. Once you merge this pull request, the 'Security' tab will show more code scanning analysis results (for example, for the default branch). Depending on your configuration and choice of analysis tool, future pull requests will be annotated with code scanning analysis results. For more information about GitHub code scanning, check out the documentation. |
Summary
.github/workflows/codeql.ymlto replace GitHub's default CodeQL setupCodeQLstatus check to stay pending forever on external contributionspull_request,pushto main, and weekly scheduleNotes
state: not-configured)Test plan
CodeQLcheck triggers on this PR and passesCodeQL)