Skip to content

Conversation

Copy link
Contributor

Copilot AI commented Feb 9, 2026

The package-update workflow used only github.run_id for branch naming, causing collisions when workflows are re-run or retry.

Changes:

  • Branch naming: Include github.run_attempt in branch name pattern: automation/package-update-{run_id}-{run_attempt}
  • Concurrency control: Add concurrency.group: package-updates with cancel-in-progress: false to serialize workflow executions
  • Traceability: Update PR body to include run attempt number
concurrency:
  group: package-updates
  cancel-in-progress: false

# ...

run: |
  $branch = "automation/package-update-${{ github.run_id }}-${{ github.run_attempt }}"

Each workflow re-run now creates a unique branch and PR instead of failing on push.


✨ Let Copilot coding agent set things up for you — coding agent works faster and does higher quality work when set up for your repo.

…sions

Co-authored-by: neilr81 <49037171+neilr81@users.noreply.github.com>
Copilot AI changed the title [WIP] Address feedback on GitHub Actions workflow for package updates Prevent branch name collisions in package-update workflow Feb 9, 2026
Copilot AI requested a review from neilr81 February 9, 2026 12:07
@neilr81 neilr81 marked this pull request as ready for review February 9, 2026 13:17
@neilr81 neilr81 requested a review from a team as a code owner February 9, 2026 13:17
@neilr81 neilr81 merged commit 57f91f1 into bugfix/add-pu Feb 9, 2026
1 check passed
@neilr81 neilr81 deleted the copilot/sub-pr-794 branch February 9, 2026 13:17
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants