Skip to content

Commit 6e6604e

Browse files
authored
fix: Skip linter in the push event (#184)
1 parent 87aea77 commit 6e6604e

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

.github/workflows/main.yaml

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -52,9 +52,10 @@ jobs:
5252
poetry install
5353
5454
- name: Linter
55+
if: ${{ github.event_name == 'pull_request' }}
5556
run: |
5657
pre-commit install
57-
pre-commit run --all-file
58+
pre-commit run --all-file --verbose
5859
5960
- name: Build the book
6061
run: |

0 commit comments

Comments
 (0)