Skip to content

Commit baa96b6

Browse files
authored
Prevent duplicate jobs on PRs (#2)
1 parent 788ce4c commit baa96b6

File tree

1 file changed

+6
-2
lines changed

1 file changed

+6
-2
lines changed

.github/workflows/test.yml

Lines changed: 6 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,12 @@
11
name: Test
22

33
on:
4-
- pull_request
5-
- push
4+
push:
5+
branches:
6+
- main
7+
pull_request:
8+
branches:
9+
- main
610

711
jobs:
812
test:

0 commit comments

Comments
 (0)