Skip to content

Commit 268e725

Browse files
Add additional build triggers (#28)
Allow manual runs of the build and run builds on all branches. --------- Co-authored-by: probonopd <probonopd@users.noreply.github.com>
1 parent eceee69 commit 268e725

File tree

1 file changed

+5
-2
lines changed

1 file changed

+5
-2
lines changed

.github/workflows/build.yaml

Lines changed: 5 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -2,9 +2,12 @@ name: build
22

33
on:
44
push:
5-
branches:
6-
- 'main'
5+
# branches:
6+
# - 'main'
7+
# NOTE: pull_request tests a potential merge conflict. push builds the branch as it would build main. Both serve separate purposes.
8+
# Especially when working with CI changes, we may want to see both, hence not limiting builds to the main branch.
79
pull_request:
10+
workflow_dispatch:
811

912
# This ensures that jobs get canceled when force-pushing
1013
concurrency:

0 commit comments

Comments
 (0)