-
Notifications
You must be signed in to change notification settings - Fork 10
fix(ci): improve concurrency grouping in quality workflow #306
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
base: main
Are you sure you want to change the base?
Conversation
Use head_ref for PR-based workflows to ensure proper concurrency cancellation per PR branch instead of per commit ref.
|
|
Note Gemini is unable to generate a summary for this pull request due to the file types involved not being currently supported. |
|
The latest updates on your projects. Learn more about Vercel for GitHub.
|
|
✅ All tests passed!
Click here if you need to update snapshots. |
e98c242 to
b2bf3eb
Compare
| concurrency: | ||
| group: ${{ github.workflow }}-${{ github.head_ref || github.ref }} | ||
| cancel-in-progress: true |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Similar to quality checks, when a new commit is pushed to packages/core, previous tests become obsolete, so concurrency is added.
Description of Changes
Improve the concurrency grouping in the quality workflow by using
github.head_ref || github.refinstead of justgithub.ref. This ensures that:head_ref)This prevents multiple workflow runs from different commits in the same PR from running simultaneously, improving CI efficiency.
Checklist