Skip to content

Commit c3650ef

Browse files
committed
use stackabletech/actions/run-pre-commit action
1 parent e2bf45b commit c3650ef

File tree

1 file changed

+2
-6
lines changed

1 file changed

+2
-6
lines changed

.github/workflows/pr_pre-commit.yml

Lines changed: 2 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -14,11 +14,7 @@ jobs:
1414
- uses: actions/checkout@692973e3d937129bcbf40652eb9f2f61becf3332 # v4.1.7
1515
with:
1616
fetch-depth: 0
17-
- name: Setup Python ${{ matrix.python-version }}
18-
uses: actions/setup-python@82c7e631bb3cdc910f68e0081d67478d79c6982d # v5.1.0
19-
with:
20-
python-version: ${{ matrix.python-version }}
2117
- name: Run pre-commit (Python ${{ matrix.python-version }})
22-
uses: pre-commit/action@2c7b3805fd2a0fd8c1884dcaebf91fc102a13ecd # v3.0.1
18+
uses: stackabletech/actions/run-pre-commit@5901c3b1455488820c4be367531e07c3c3e82538 # v0.4.0
2319
with:
24-
extra_args: "--from-ref ${{ github.event.pull_request.base.sha }} --to-ref ${{ github.event.pull_request.head.sha }}"
20+
python-version: ${{ matrix.python-version }}

0 commit comments

Comments
 (0)