Add concurrency group to PR Tooling Safety Check workflow#19841
Draft
Copilot wants to merge 2 commits into
Draft
Add concurrency group to PR Tooling Safety Check workflow#19841Copilot wants to merge 2 commits into
Copilot wants to merge 2 commits into
Conversation
…t repo-memory pushes Co-authored-by: T-Gro <46543583+T-Gro@users.noreply.github.com>
Copilot
AI
changed the title
[WIP] Fix PR Tooling Safety Check failure
Add concurrency group to PR Tooling Safety Check workflow
May 28, 2026
T-Gro
approved these changes
May 28, 2026
Member
T-Gro
left a comment
There was a problem hiding this comment.
LGTM. The fix correctly serializes workflow runs to prevent the race condition on push-repo-memory pushes to safety/scanned-PRs.
- Static concurrency group name (
labelops-pr-security-scan) is unambiguous — no risk of expression-resolution issues. cancel-in-progress: falseensures queued scans still complete (no lost work).- Lock file changes are expected recompilation artifacts from the source change.
- Follows the same pattern as
labelops-pr-maintenance.
Contributor
✅ No release notes required |
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.
The
push-repo-memoryjob failed withremote: fatal error in commit_refswhen pushing to thesafety/scanned-PRsbranch. This is a server-side race condition triggered when multiple workflow runs attempt to push to the same branch concurrently.concurrencygroup withcancel-in-progress: falseto ensure at most one run executes at a time (queued runs still complete, no scans lost)Follows the same pattern already used by
labelops-pr-maintenance.md.