Skip to content

Commit 514b7ec

Browse files
tests if the releases work with PR
1 parent 867a8bf commit 514b7ec

File tree

1 file changed

+4
-1
lines changed

1 file changed

+4
-1
lines changed

.github/workflows/build-mcpb.yml

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,6 +4,9 @@ on:
44
push:
55
branches:
66
- 'main'
7+
pull_request:
8+
branches:
9+
- 'main'
710
release:
811
types: [published]
912

@@ -30,7 +33,7 @@ jobs:
3033
needs: [pre-check]
3134
if: |
3235
always() &&
33-
(github.event_name == 'release' || needs.pre-check.outputs.skip-workflow == 'false')
36+
(github.event_name == 'release' || github.event_name == 'pull_request' || needs.pre-check.outputs.skip-workflow == 'false')
3437
strategy:
3538
fail-fast: false
3639
matrix:

0 commit comments

Comments
 (0)