ci: cancel superseded REUSE runs #14

Open
robin.everaars wants to merge 1 commit from ci/cancel-superseded-runs into main
Owner

The forge has one shared runner. Without a concurrency group every push to main or to a pull request branch queues another full REUSE run, and the runs that are superseded keep running.

This change adds to .forgejo/workflows/reuse.yaml the concurrency block that check.yaml already uses. A newer run in the same group (workflow plus branch) now cancels the older one.

release.yaml is left alone on purpose.

The forge has one shared runner. Without a concurrency group every push to main or to a pull request branch queues another full REUSE run, and the runs that are superseded keep running. This change adds to `.forgejo/workflows/reuse.yaml` the concurrency block that `check.yaml` already uses. A newer run in the same group (workflow plus branch) now cancels the older one. `release.yaml` is left alone on purpose.
ci: cancel superseded REUSE runs
Some checks failed
REUSE / REUSE lint (pull_request) Failing after 1s
Check / Guards and index (pull_request) Failing after 1s
Check / Build site and PDF (pull_request) Has been skipped
41d3350f59
The forge has one shared runner. Without a concurrency group every push
to main or to a pull request branch queues another full REUSE run, and
the runs it supersedes keep running. The workflow now cancels the older
run in its group when a newer one starts, with the block check.yaml
already uses.
Some checks failed
REUSE / REUSE lint (pull_request) Failing after 1s
Check / Guards and index (pull_request) Failing after 1s
Check / Build site and PDF (pull_request) Has been skipped
This pull request doesn't have enough approvals yet. 0 of 1 approvals granted.
You are not authorized to merge this pull request.
View command line instructions

Checkout

From your project repository, check out a new branch and test the changes.
git fetch -u origin 'ci/cancel-superseded-runs:ci/cancel-superseded-runs'
git switch 'ci/cancel-superseded-runs'
Sign in to join this conversation.
No reviewers
No labels
No milestone
No project
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set

Reference
HOIST-IT-Shared/public-talks!14
No description provided.