Skip to content

Fix docs concurrency group#85

Merged
ssestak merged 1 commit intomainfrom
fix/docs-concurrency-group
Feb 23, 2026
Merged

Fix docs concurrency group#85
ssestak merged 1 commit intomainfrom
fix/docs-concurrency-group

Conversation

@ssestak
Copy link
Contributor

@ssestak ssestak commented Feb 23, 2026

Summary

The deploy-docs workflow uses a single concurrency group based on github.ref. When a branch is merged and then deleted, both the push (deploy) and delete (cleanup-preview) events resolve to refs/heads/main, causing the deploy job to be cancelled by the cleanup job.

Adding github.event_name to the concurrency group key ensures both jobs run independently.

Changes

  • Include github.event_name in the concurrency group: deploy-docs-${{ github.event_name }}-${{ github.ref }}

Include event_name in concurrency group so push-triggered deploys
and delete-triggered cleanups run independently.

Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
@ssestak ssestak enabled auto-merge February 23, 2026 12:57
@ssestak ssestak merged commit 574ce19 into main Feb 23, 2026
2 checks passed
@ssestak ssestak deleted the fix/docs-concurrency-group branch February 23, 2026 13:05
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