Skip to content

Commit fc6cce5

Browse files
committed
Make CI easier to run in forks
This makesthe CI workflow easier to run in forks, for those who wish to run it in feature branches that don't (or don't yet) have a PR, by making it so that, in addition to `main`, branch names that have `run-ci` as a non-trailing component also run it on `push`.
1 parent db0f01e commit fc6cce5

File tree

1 file changed

+6
-2
lines changed

1 file changed

+6
-2
lines changed

.github/workflows/ci.yml

Lines changed: 6 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -2,9 +2,13 @@ name: CI
22

33
on:
44
push:
5-
branches: [ main ]
5+
branches:
6+
- main
7+
- "run-ci/**"
8+
- "**/run-ci/**"
69
pull_request:
7-
branches: [ main ]
10+
branches:
11+
- main
812

913
jobs:
1014
build-and-test-linux:

0 commit comments

Comments
 (0)