Skip to content

Stabilize GitHub Pages deploy job by scoping and preempting workflow concurrency - #1

Merged
Staaaaaaaaar merged 2 commits into
mainfrom
copilot/fix-deploy-github-actions-job
Aug 6, 2026
Merged

Stabilize GitHub Pages deploy job by scoping and preempting workflow concurrency#1
Staaaaaaaaar merged 2 commits into
mainfrom
copilot/fix-deploy-github-actions-job

Conversation

Copilot AI commented Aug 6, 2026

Copy link
Copy Markdown
Contributor

The deploy job for the Pages workflow was failing with Deployment cancelled while the deployment remained queued. This change updates workflow-level concurrency so stale deploy attempts no longer block or race the active run.

  • Root cause

    • Pages deploy attempts for the same workflow were contending under a shared global concurrency group, leading to queued deployments being canceled.
  • Workflow concurrency update

    • Scope concurrency by ref instead of one global pages group.
    • Enable cancellation of older in-progress runs so only the newest run per ref proceeds.
concurrency:
  group: pages-${{ github.ref }}
  cancel-in-progress: true
  • Impact
    • Reduces queued/canceled deploy races and improves determinism of the deploy job for branch updates.

Co-authored-by: Staaaaaaaaar <192419142+Staaaaaaaaar@users.noreply.github.com>
Copilot AI changed the title [WIP] Fix the failing GitHub Actions job deploy Stabilize GitHub Pages deploy job by scoping and preempting workflow concurrency Aug 6, 2026
Copilot AI requested a review from Staaaaaaaaar August 6, 2026 10:49
@Staaaaaaaaar
Staaaaaaaaar marked this pull request as ready for review August 6, 2026 10:52
@Staaaaaaaaar
Staaaaaaaaar merged commit 7e9dabb into main Aug 6, 2026
10 checks passed
@Staaaaaaaaar
Staaaaaaaaar deleted the copilot/fix-deploy-github-actions-job branch August 6, 2026 10:53
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