Skip to content

Commit ec79c38

Browse files
committed
fix(ci): only trigger build for push events on master branch
Avoids running all jobs twice for pushes to pull requests.
1 parent 0d4969a commit ec79c38

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

.github/workflows/build.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@ name: Build
22

33
on:
44
push:
5-
branches: [ '**' ]
5+
branches: [ 'master' ]
66
pull_request:
77
branches: [ '**' ]
88

0 commit comments

Comments
 (0)