Skip to content

Commit 74e3475

Browse files
committed
Make the main CI workflow easier to run in forks
This adds patterns besides the literal name `main` so CI runs on `push` to any branch that has `run-ci` as a non-trailing component. It also adds a `workflow_dispatch` trigger so the workflow can be run (on any branch) manually from the Actions tab. These are to make the workflow easier to run in forks, roughly analogous to GitoxideLabs/gitoxide#1507.
1 parent bfbaa1e commit 74e3475

File tree

1 file changed

+3
-0
lines changed

1 file changed

+3
-0
lines changed

.github/workflows/ci.yml

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -8,6 +8,9 @@ on:
88
push:
99
branches:
1010
- main
11+
- 'run-ci/**'
12+
- '**/run-ci/**'
13+
workflow_dispatch:
1114

1215
env:
1316
RUST_BACKTRACE: 1

0 commit comments

Comments
 (0)