We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent cfc83bb commit 626b2faCopy full SHA for 626b2fa
.github/workflows/pre-commit-manual.yml
@@ -0,0 +1,20 @@
1
+# https://github.com/j178/prek
2
+name: Manual hooks
3
+
4
+on: [pull_request]
5
6
+permissions:
7
+ contents: read
8
9
+jobs:
10
+ pre-commit:
11
+ name: Run pre-commit
12
+ runs-on: ubuntu-latest
13
+ steps:
14
+ - name: "Checkout ${{ github.ref }} ( ${{ github.sha }} )"
15
+ uses: actions/checkout@v6
16
+ - uses: j178/prek-action@v1
17
+ with:
18
+ install-only: true
19
+ - name: Run manual pre-commit hooks
20
+ run: prek run --color=always --all-files --hook-stage manual
.github/workflows/pre-commit.yml
@@ -16,5 +16,3 @@ jobs:
- uses: j178/prek-action@v1
with:
extra-args: --all-files
- - name: Run manual pre-commit hooks
- run: prek run --color=always --all-files --hook-stage manual
0 commit comments