Commit 1bdaecd
committed
ci: restrict guix build to only run on tagged pushes and labeled PRs
Previously, the Guix Build workflow triggered on all push events
(branches and tags), relying solely on the job-level `if` condition
to skip non-tag branch pushes. This caused unnecessary workflow runs
to appear (as skipped) on every PR push.
Restrict the push trigger to tags only, so the workflow is never
triggered by regular branch pushes. The existing job-level condition
is kept as defense-in-depth.
For PRs, the workflow continues to require the `guix-build` label.1 parent dcfa6ba commit 1bdaecd
1 file changed
+2
-0
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
9 | 9 | | |
10 | 10 | | |
11 | 11 | | |
| 12 | + | |
| 13 | + | |
12 | 14 | | |
13 | 15 | | |
14 | 16 | | |
| |||
0 commit comments