Skip to content

Commit 3e5c283

Browse files
Try to reduce duplicate builds
1 parent 6aece5c commit 3e5c283

File tree

1 file changed

+1
-2
lines changed

1 file changed

+1
-2
lines changed

.github/workflows/build.yml

+1-2
Original file line numberDiff line numberDiff line change
@@ -4,15 +4,14 @@ on:
44
push:
55
branches:
66
- "**"
7-
branches_ignore:
8-
- 'refs/pull/*'
97
pull_request:
108
branches:
119
- '**'
1210

1311
jobs:
1412
build:
1513
runs-on: ubuntu-latest
14+
if: github.event_name != 'push' || github.event.pull_request == null # Prevent push CI for PRs
1615
strategy:
1716
fail-fast: false
1817
matrix:

0 commit comments

Comments
 (0)