We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent dd7df90 commit f98125aCopy full SHA for f98125a
.github/workflows/checkcode.yml
@@ -0,0 +1,27 @@
1
+name: Check Pre-commit Hooks
2
+
3
+on:
4
+ pull_request:
5
+ branches:
6
+ - main
7
+ push:
8
9
10
11
+concurrency:
12
+ group: ${{ github.workflow }}-${{ github.ref }}
13
+ cancel-in-progress: true
14
15
+jobs:
16
+ checkcode:
17
+ runs-on: ubuntu-latest
18
+ env:
19
+ SKIP: no-commit-to-branch
20
+ steps:
21
+ - uses: actions/checkout@v6
22
+ - name: Run pre-commit
23
+ run: |
24
+ ./utilities/set_up_dev_env.sh
25
+ source ./utilities/python-venv/bin/activate
26
+ pre-commit clean
27
+ pre-commit run --all-files --show-diff-on-failure
0 commit comments