Skip to content

Commit 47d4f8a

Browse files
committed
ci: Add --from-ref and --to-ref arguments
1 parent 07f6f9a commit 47d4f8a

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

.github/workflows/pr_pre-commit.yaml

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -21,3 +21,5 @@ jobs:
2121
toolchain: ${{ env.RUST_TOOLCHAIN_VERSION }}
2222
components: rustfmt,clippy
2323
- uses: pre-commit/action@2c7b3805fd2a0fd8c1884dcaebf91fc102a13ecd # v3.0.1
24+
with:
25+
extra_args: "--from-ref ${{ github.event.pull_request.base.sha }} --to-ref ${{ github.event.pull_request.head.sha }}"

0 commit comments

Comments
 (0)