Skip to content

Commit c099b72

Browse files
committed
Fix pre-commit
1 parent 9211d23 commit c099b72

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

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

+1-1
Original file line numberDiff line numberDiff line change
@@ -37,4 +37,4 @@ jobs:
3737
- name: Check Changed Files On PR
3838
if: github.event_name == 'pull_request' && fromJSON(inputs.changed-files)['repo'] == 'true'
3939
run: |
40-
pre-commit run --show-diff-on-failure --color=always --files ${{ join(fromJSON(inputs.changed-files)['repo_files'], ' ') }}
40+
pre-commit run --show-diff-on-failure --color=always --from-ref ${{ github.event.pull_request.base.sha }} --to-ref ${{ github.event.pull_request.head.sha }}

0 commit comments

Comments
 (0)