ci: cancel superseded REUSE runs #14
Loading…
Reference in a new issue
No description provided.
Delete branch "ci/cancel-superseded-runs"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
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.yamlthe concurrency block thatcheck.yamlalready uses. A newer run in the same group (workflow plus branch) now cancels the older one.release.yamlis left alone on purpose.View command line instructions
Checkout
From your project repository, check out a new branch and test the changes.