Skip to content

Commit ef0ea02

Browse files
authored
Create pre-commit.yml
This should not pass at this stage as the problems with the README.md file are addressed in a different branch
1 parent 99820ae commit ef0ea02

1 file changed

Lines changed: 27 additions & 0 deletions

File tree

.github/workflows/pre-commit.yml

Lines changed: 27 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -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+
with:
27+
extra_args: '--all-files --config src/py/.pre-commit-config.yaml'

0 commit comments

Comments
 (0)