We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent fe2cd2c commit bf40107Copy full SHA for bf40107
.github/workflows/pre-commit.yml
@@ -0,0 +1,19 @@
1
+# https://pre-commit.com
2
+# https://github.com/pre-commit/action
3
+# This GitHub Action assumes that the repo contains a valid .pre-commit-config.yaml file.
4
+# Using pre-commit.ci is even better that using GitHub Actions for pre-commit.
5
+name: pre-commit
6
+on:
7
+ pull_request:
8
+ push:
9
+ branches: [main]
10
+ workflow_dispatch:
11
+jobs:
12
+ pre-commit:
13
+ runs-on: ubuntu-latest
14
+ steps:
15
+ - uses: actions/checkout@v4
16
+ - uses: actions/setup-python@v5
17
+ with:
18
+ python-version: 3.x
19
+ - uses: pre-commit/[email protected]
0 commit comments