Skip to content

Commit 2416c3f

Browse files
committed
diag: trigger on this branch, since workflow_dispatch needs the default branch
A workflow_dispatch-only workflow is not dispatchable until the file exists on the default branch. Putting a throwaway diagnostic on main to be able to run it is the opposite of what it is for, so it triggers on pushes to its own branch.
1 parent ae7feb8 commit 2416c3f

1 file changed

Lines changed: 5 additions & 1 deletion

File tree

.github/workflows/diag-pipe-holder.yml

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,8 +4,12 @@ name: Diag pipe holder
44
# conformance run finishes but its output pipe does not close, WHICH process is
55
# holding the write end?
66
#
7-
# It is manual only. Nothing triggers it but a person.
7+
# It runs only on its own throwaway branch. A workflow_dispatch alone is not
8+
# dispatchable until the file exists on the default branch, which is exactly
9+
# what this must not do.
810
on:
11+
push:
12+
branches: [diag/pipe-holder]
913
workflow_dispatch:
1014

1115
jobs:

0 commit comments

Comments
 (0)