Skip to content

Commit d3ed19d

Browse files
committed
ci: skip pre-commit workflow on main
1 parent fc4efe3 commit d3ed19d

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

.github/workflows/pre-commit.yml

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,10 +1,10 @@
11
name: Code formatting
22

33
# see: https://help.github.com/en/actions/reference/events-that-trigger-workflows
4-
on: # Trigger the workflow on push or pull request, but only for the main branch
5-
push:
6-
branches: [main]
4+
on:
75
pull_request: {}
6+
push:
7+
branches-ignore: [main]
88

99
defaults:
1010
run:

0 commit comments

Comments
 (0)