Add pull_request trigger so PRs into main post a status check
This commit is contained in:
1 parent
6f8456f2b6
commit
d4ca8fe7c5
1 file changed
+5
-1
@@ -14,8 +14,12 @@ name: Build RPi image
|
|||||||
|
|
||||||
on:
|
on:
|
||||||
push:
|
push:
|
||||||
# main is release-protected; CI branches may be pushed freely for testing
|
# main is release-protected; ci/* branches are free scratch space
|
||||||
branches: [main, 'ci/*']
|
branches: [main, 'ci/*']
|
||||||
|
pull_request:
|
||||||
|
# gates merges into main, and provides the commit status that a
|
||||||
|
# "require status checks" branch-protection rule waits for
|
||||||
|
branches: [main]
|
||||||
workflow_dispatch:
|
workflow_dispatch:
|
||||||
|
|
||||||
# Never run two builds at once on the same (single) runner.
|
# Never run two builds at once on the same (single) runner.
|
||||||
|
|||||||
Reference in new issue
Block a user