fix: cancel duplicate sphinx builds on consecutive pushes to the same branch - #14563
Merged
Merged
Conversation
…ate builds Agent-Logs-Url: https://github.com/nextcloud/documentation/sessions/6153ff5b-1109-4e67-97df-321f765fd51f Co-authored-by: nextcloud-command <88102737+nextcloud-command@users.noreply.github.com>
Copilot created this pull request from a session on behalf of
nextcloud-command
April 24, 2026 07:50
View session
skjnldsv
marked this pull request as ready for review
April 24, 2026 07:54
skjnldsv
approved these changes
Apr 24, 2026
skjnldsv
enabled auto-merge
April 24, 2026 07:57
skjnldsv
added a commit
that referenced
this pull request
Jun 15, 2026
Backport of: - fix/cancel-duplicate-sphinx-builds (#14563): use github.ref for push event concurrency group to cancel duplicate builds - feature/workflow-dispatch-deploy (#15085): allow manual deploy via workflow_dispatch trigger - copilot/add-meta-robots-noindex (#14800): add noindex meta tag to non-stable docs, strip it from stable docs on deploy, and write robots.txt to allow only stable version to be indexed Signed-off-by: skjnldsv <skjnldsv@protonmail.com>
skjnldsv
added a commit
that referenced
this pull request
Jun 15, 2026
Backport of: - fix/cancel-duplicate-sphinx-builds (#14563): use github.ref for push event concurrency group to cancel duplicate builds - feature/workflow-dispatch-deploy (#15085): allow manual deploy via workflow_dispatch trigger - copilot/add-meta-robots-noindex (#14800): add noindex meta tag to non-stable docs, strip it from stable docs on deploy, and write robots.txt to allow only stable version to be indexed Signed-off-by: skjnldsv <skjnldsv@protonmail.com>
This was referenced Jun 15, 2026
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.
Consecutive pushes to
masterorstable*branches would each spawn independent workflow runs with no cancellation, sincegithub.head_refis empty on push events and the fallbackgithub.run_idis unique per run — making the concurrency group useless for push.Change
github.head_refis the PR branch namegithub.ref, grouping runs by branch and cancelling the in-progress one on the next push