ci: run CodeQL on pull requests - #2193
Conversation
CodeQL only ran on push to master and dev and on the weekly cron, so a regression was first seen after merge. Add the same trigger for pull requests targeting those branches, with the same paths-ignore list. Signed-off-by: mesutoezdil <mesudozdil@gmail.com>
📝 WalkthroughWalkthroughThe CodeQL workflow now runs for pull requests targeting ChangesCodeQL workflow triggers
Estimated code review effort: 1 (Trivial) | ~3 minutes Suggested labels: Suggested reviewers: Poem
🚥 Pre-merge checks | ✅ 5✅ Passed checks (5 passed)
✨ Finishing Touches🧪 Generate unit tests (beta)
Thanks for using CodeRabbit! It's free for OSS, and your support helps us grow. If you like it, consider giving us a shout-out. Comment |
Codecov Report✅ All modified and coverable lines are covered by tests.
Flags with carried forward coverage won't be shown. Click here to find out more. 🚀 New features to boost your workflow:
|
|
[APPROVALNOTIFIER] This PR is APPROVED This pull-request has been approved by: archlitchi, mesutoezdil The full list of commands accepted by this bot can be found here. The pull request process is described here DetailsNeeds approval from an approver in each of these files:
Approvers can indicate their approval by writing |
/kind cleanup
CodeQL only runs on push to
masteranddevand on the weekly cron, so a finding is first seen after merge. #2190 is an example: the conversion it fixes has been open as alert #1031 since May. This adds the same trigger for pull requests targeting those branches, reusing the existingpaths-ignorelist. It also closes Scorecard alert #1149 (SAST), which checks whether a SAST tool runs on pull requests.