Skip to content

Commit e8430a9

Browse files
committed
Use the push event to trigger CI only on master (#188)
On other branches, CI will either trigger anyway because of the PR event, or be redundant because of the upcoming CD workflow (on prepublish and gh-pages).
1 parent fe7c043 commit e8430a9

1 file changed

Lines changed: 3 additions & 2 deletions

File tree

.github/workflows/ci.yml

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -4,8 +4,9 @@
44
name: Continuous Integration
55

66
on:
7-
- push
8-
- pull_request
7+
push:
8+
branches: [master]
9+
pull_request:
910

1011
jobs:
1112
build:

0 commit comments

Comments
 (0)