Skip to content

Commit 10d7f17

Browse files
authored
Move pre commit run to before PR
1 parent 7785cf2 commit 10d7f17

File tree

1 file changed

+5
-3
lines changed

1 file changed

+5
-3
lines changed

.github/workflows/pre-commit-update.yml

Lines changed: 5 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -21,6 +21,10 @@ jobs:
2121

2222
- uses: browniebroke/pre-commit-autoupdate-action@main
2323

24+
- name: Run update pre-commit
25+
- run: |
26+
pre-commit run --all-files
27+
2428
- uses: peter-evans/create-pull-request@v3
2529
with:
2630
token: ${{ secrets.GITHUB_TOKEN }}
@@ -29,8 +33,6 @@ jobs:
2933
commit-message: "chore: update pre-commit hooks"
3034
body: Update versions of pre-commit hooks to latest version.
3135

32-
- name: Run update pre-commit
33-
- run: |
34-
pre-commit run --all-files
36+
3537

3638

0 commit comments

Comments
 (0)