We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent fc4efe3 commit d3ed19dCopy full SHA for d3ed19d
1 file changed
.github/workflows/pre-commit.yml
@@ -1,10 +1,10 @@
1
name: Code formatting
2
3
# 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]
+on:
7
pull_request: {}
+ push:
+ branches-ignore: [main]
8
9
defaults:
10
run:
0 commit comments