Skip to content

Commit 3ae2df5

Browse files
committed
Attempt to fix pre-commit github action on main
We should skip `no-commit-to-branch` in ci on main branch
1 parent 5f81cc1 commit 3ae2df5

1 file changed

Lines changed: 3 additions & 0 deletions

File tree

.github/workflows/pre-commit.yml

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,4 @@
1+
# Alternatively, consider using https://pre-commit.ci/
12
name: pre-commit checks
23

34
on:
@@ -18,3 +19,5 @@ jobs:
1819
with:
1920
python-version: "3.13"
2021
- uses: pre-commit/action@v3.0.1
22+
env:
23+
SKIP: "no-commit-to-branch"

0 commit comments

Comments
 (0)