Skip to content

Commit beeaed9

Browse files
committed
edits
1 parent e43c86e commit beeaed9

1 file changed

Lines changed: 7 additions & 1 deletion

File tree

.github/workflows/format.yml

Lines changed: 7 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,11 @@
11
name: Format Check
22

3-
on: [push, pull_request]
3+
on:
4+
push:
5+
branches:
6+
- master
7+
pull_request:
8+
branches: [ "**" ]
49

510
jobs:
611
format:
@@ -46,6 +51,7 @@ jobs:
4651
find tests -name '*.rs' -print0 | xargs -0 rustfmt
4752
4853
- name: Commit auto-fixes
54+
if: github.ref != 'refs/heads/master'
4955
uses: stefanzweifel/git-auto-commit-action@v5
5056
with:
5157
commit_message: "Automatically apply formatting and lint fixes"

0 commit comments

Comments
 (0)