Add pre-commit workflow configuration for automated code checks
This commit is contained in:
parent
c506486a32
commit
f888549854
1 changed files with 14 additions and 0 deletions
14
.forgejo/workflows/pre-commit.yaml
Normal file
14
.forgejo/workflows/pre-commit.yaml
Normal file
|
@ -0,0 +1,14 @@
|
||||||
|
name: pre-commit
|
||||||
|
|
||||||
|
on:
|
||||||
|
pull_request:
|
||||||
|
push:
|
||||||
|
branches: [main]
|
||||||
|
|
||||||
|
jobs:
|
||||||
|
pre-commit:
|
||||||
|
runs-on: ubuntu-latest
|
||||||
|
steps:
|
||||||
|
- uses: actions/checkout@v4
|
||||||
|
- uses: actions/setup-python@v5
|
||||||
|
- uses: pre-commit/action@v3.0.1
|
Loading…
Add table
Reference in a new issue