We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent e43c86e commit beeaed9Copy full SHA for beeaed9
1 file changed
.github/workflows/format.yml
@@ -1,6 +1,11 @@
1
name: Format Check
2
3
-on: [push, pull_request]
+on:
4
+ push:
5
+ branches:
6
+ - master
7
+ pull_request:
8
+ branches: [ "**" ]
9
10
jobs:
11
format:
@@ -46,6 +51,7 @@ jobs:
46
51
find tests -name '*.rs' -print0 | xargs -0 rustfmt
47
52
48
53
- name: Commit auto-fixes
54
+ if: github.ref != 'refs/heads/master'
49
55
uses: stefanzweifel/git-auto-commit-action@v5
50
56
with:
57
commit_message: "Automatically apply formatting and lint fixes"
0 commit comments