]> git.ipfire.org Git - thirdparty/openwrt.git/commit
github: separate concurrency group per event for kernel and packages 23283/head
authorHauke Mehrtens <hauke@hauke-m.de>
Sun, 10 May 2026 14:34:54 +0000 (16:34 +0200)
committerChristian Marangi <ansuelsmth@gmail.com>
Mon, 11 May 2026 13:36:58 +0000 (15:36 +0200)
commit3c7a1418c14934787c37f4a5a6dfc50c5fc5c0c1
treeabd0a703b2b00610b5dfb199c983fd30a5c9869a
parentd9e6f9dce8ffcc037b89f3a35f4088dd19269ea0
github: separate concurrency group per event for kernel and packages

Manual workflow_dispatch and push share the same ref on main, so
they previously landed in the same concurrency group
'Build Kernel-refs/heads/main' (and the equivalent for the packages
workflow). With cancel-in-progress: false for non-PR events, only
one run can be pending per group: a newer queued run cancels the
older pending one.

That made the manual trigger unreliable in both directions. A push
landing while a dispatch was queued displaced the dispatch (so the
ccache reseed never ran), and dispatching while a push was queued
displaced the push (so the legitimate per-commit build was lost).

Adding github.event_name to the concurrency group puts pushes,
dispatches, and pull_requests in separate buckets on the same ref,
so they no longer compete with each other.

Co-Authored-By: Claude Opus 4.7 (1M context) <noreply@anthropic.com>
Signed-off-by: Hauke Mehrtens <hauke@hauke-m.de>
Link: https://github.com/openwrt/openwrt/pull/23283
Signed-off-by: Christian Marangi <ansuelsmth@gmail.com>
.github/workflows/kernel.yml
.github/workflows/packages.yml