ci: give non-PR code quality runs distinct concurrency groups#1894
Open
arham766 wants to merge 1 commit into
Open
ci: give non-PR code quality runs distinct concurrency groups#1894arham766 wants to merge 1 commit into
arham766 wants to merge 1 commit into
Conversation
Without the github.sha fallback (already used by unit_tests.yml), every nightly and manually dispatched run shares the literal group 'Code Quality-' with cancel-in-progress enabled, so a manual dispatch cancels an in-flight nightly run and vice versa. Signed-off-by: arham766 <arhamislam766@yahoo.com>
Contributor
|
No actionable comments were generated in the recent review. 🎉 ℹ️ Recent review info⚙️ Run configurationConfiguration used: Path: .coderabbit.yaml Review profile: CHILL Plan: Enterprise Run ID: 📒 Files selected for processing (1)
📝 WalkthroughWalkthroughThe concurrency group key in the code_quality GitHub Actions workflow was modified to combine the workflow name with either the pull request number or the commit SHA, replacing the previous PR-number-only grouping. ChangesWorkflow Concurrency Configuration
Estimated code review effort: 1 (Trivial) | ~2 minutes 🚥 Pre-merge checks | ✅ 6✅ Passed checks (6 passed)
✨ Finishing Touches🧪 Generate unit tests (beta)
Comment |
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.
What does this PR do?
Type of change: Bug fix
The concurrency group used
github.event.pull_request.numberwith no fallback, so every nightly and manually dispatched run shared the literal groupCode Quality-withcancel-in-progress: true— a manual dispatch cancels an in-flight nightly and vice versa. Adds the|| github.shafallback already used byunit_tests.yml.Usage
N/A — CI workflow configuration change.
Testing
Matches the existing pattern in
unit_tests.ymlline-for-line. YAML validated.Before your PR is "Ready for review"
CONTRIBUTING.md: N/A/claude review)Additional Information
Part of #1890 (item 4).
Summary by CodeRabbit