Skip to content

Commit 6cc3369

Browse files
committed
CI: Run test target only on branch main
This hopefully prevents that on pull requests, the tasks will be running twice.
1 parent 0b2de74 commit 6cc3369

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

.github/workflows/test.yml

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -2,10 +2,12 @@ name: Test
22

33
on:
44
pull_request:
5+
branches: [ main ]
56
paths:
67
- '.github/workflows/test.yml'
78
- '**.py'
89
push:
10+
branches: [ main ]
911
paths:
1012
- '.github/workflows/test.yml'
1113
- '**.py'

0 commit comments

Comments
 (0)