We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 99820ae commit ef0ea02Copy full SHA for ef0ea02
1 file changed
.github/workflows/pre-commit.yml
@@ -0,0 +1,27 @@
1
+name: pre-commit
2
+
3
+# Trigger: This workflow runs on every push to the repository
4
+on:
5
+ push:
6
7
+# Permissions: Only read access to repository contents is needed
8
+permissions:
9
+ contents: read
10
11
+jobs:
12
+ # Job: pre-commit
13
+ # Purpose: Executes the pre-commit checks against the codebase
14
+ pre-commit:
15
+ runs-on: ubuntu-latest
16
+ steps:
17
+ - name: Checkout [${{ github.repository }}]
18
+ uses: actions/checkout@v4
19
20
+ - name: Install Node 22
21
+ uses: actions/setup-node@v4
22
+ with:
23
+ node-version: '22'
24
25
+ - uses: pre-commit/action@v3.0.1
26
27
+ extra_args: '--all-files --config src/py/.pre-commit-config.yaml'
0 commit comments