Skip to content

Commit 5a7b581

Browse files
committed
Optimize GitHub Actions triggers
1 parent 740264e commit 5a7b581

1 file changed

Lines changed: 4 additions & 1 deletion

File tree

.github/workflows/ci.yaml

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

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

58
jobs:
69
pre-commit:

0 commit comments

Comments
 (0)