Skip to content

Commit 90435b5

Browse files
committed
Fix CI build duplication when submitting a PR
1 parent acf10ea commit 90435b5

File tree

1 file changed

+8
-1
lines changed

1 file changed

+8
-1
lines changed

.github/workflows/ci.yml

Lines changed: 8 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,13 @@
11
name: Build and test
22

3-
on: [push, pull_request]
3+
# https://stackoverflow.com/a/70767151/3628232
4+
on:
5+
push:
6+
branches:
7+
- master
8+
pull_request:
9+
branches:
10+
- master
411

512
jobs:
613
test:

0 commit comments

Comments
 (0)