mirror of
https://github.com/openwrt/packages.git
synced 2026-05-31 06:51:51 +08:00
753e26a131
When a contributor pushes a new commit to an open PR, the previous Test and Build run is no longer informative and only consumes a runner slot that the new run could use. Add a concurrency group keyed on the workflow name and ref so a fresh push cancels the prior in-progress run for the same PR. Since this workflow only triggers on pull_request, the ref is always refs/pull/<num>/merge (unique per PR), so cancel-in-progress can be set unconditionally. Co-Authored-By: Claude Opus 4.7 (1M context) <noreply@anthropic.com> Signed-off-by: Hauke Mehrtens <hauke@hauke-m.de>