We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 9211d23 commit c099b72Copy full SHA for c099b72
.github/workflows/pre-commit-action.yml
@@ -37,4 +37,4 @@ jobs:
37
- name: Check Changed Files On PR
38
if: github.event_name == 'pull_request' && fromJSON(inputs.changed-files)['repo'] == 'true'
39
run: |
40
- pre-commit run --show-diff-on-failure --color=always --files ${{ join(fromJSON(inputs.changed-files)['repo_files'], ' ') }}
+ 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