fix(ci): improve concurrency grouping in quality workflow#306
fix(ci): improve concurrency grouping in quality workflow#306MaxLee-dev merged 2 commits intomainfrom
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.
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