ci: Run CodeQL action on all PRs#3698
Merged
szokeasaurusrex merged 1 commit intomasterfrom Oct 28, 2024
Merged
Conversation
This action only is triggered on PRs to `master`, but the action is required. This becomes a problem when a PR is opened against a branch other than `master` (e.g. as part of a PR tree). When the parent branch is merged to `master`, the PR's base automatically changes to `master`, but this action does not get triggered. Instead, it blocks on "Expected" and can only be run by adding commits to the branch. Running the action on PRs against any branch should fix this. Also, add logic to cancel in-progress workflows on pull requests (logic taken from our other actions)
sl0thentr0py
approved these changes
Oct 28, 2024
Codecov ReportAll modified and coverable lines are covered by tests ✅
✅ All tests successful. No failed tests found. Additional details and impacted files@@ Coverage Diff @@
## master #3698 +/- ##
=======================================
Coverage 84.33% 84.34%
=======================================
Files 133 133
Lines 14257 14257
Branches 2405 2405
=======================================
+ Hits 12024 12025 +1
Misses 1482 1482
+ Partials 751 750 -1 |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
This action only is triggered on PRs to
master, but the action is required. This becomes a problem when a PR is opened against a branch other thanmaster(e.g. as part of a PR tree). When the parent branch is merged tomaster, the PR's base automatically changes tomaster, but this action does not get triggered. Instead, it blocks on "Expected" and can only be run by adding commits to the branch.Running the action on PRs against any branch should fix this.
Also, add logic to cancel in-progress workflows on pull requests (logic taken from our other actions)