Skip to content

Commit 4f79de1

Browse files
committed
Avoid duplicate GH Actions runs for PRs
1 parent 1249ab3 commit 4f79de1

File tree

1 file changed

+4
-1
lines changed

1 file changed

+4
-1
lines changed

.github/workflows/test.yaml

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,9 @@
11
name: tests
22

3-
on: [push, pull_request]
3+
on:
4+
push:
5+
branches: [main]
6+
pull_request:
47

58
env:
69
primary-python-version: "3.12"

0 commit comments

Comments
 (0)