Skip to content

Commit f6c78e0

Browse files
committed
Retry approach, skip branch checking in pre-commit
1 parent ed01f08 commit f6c78e0

File tree

1 file changed

+8
-2
lines changed

1 file changed

+8
-2
lines changed

.github/workflows/verify.yml

Lines changed: 8 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -19,7 +19,6 @@ jobs:
1919
prepare:
2020
runs-on: ubuntu-latest
2121
name: Prepare
22-
if: github.event.pull_request.merged == false
2322
steps:
2423
- name: Check out committed code
2524
uses: actions/checkout@v2
@@ -108,7 +107,14 @@ jobs:
108107
- name: Verify commit
109108
run: |
110109
. venv/bin/activate
111-
pre-commit run --show-diff-on-failure --color=always --all-files
110+
pre-commit run --show-diff-on-failure --color=always --all-files --hook-stage manual bandit
111+
pre-commit run --show-diff-on-failure --color=always --all-files --hook-stage manual black
112+
pre-commit run --show-diff-on-failure --color=always --all-files --hook-stage manual codespell
113+
pre-commit run --show-diff-on-failure --color=always --all-files --hook-stage manual flake8
114+
pre-commit run --show-diff-on-failure --color=always --all-files --hook-stage manual isort
115+
pre-commit run --show-diff-on-failure --color=always --all-files --hook-stage manual mypy
116+
pre-commit run --show-diff-on-failure --color=always --all-files --hook-stage manual userdata
117+
pre-commit run --show-diff-on-failure --color=always --all-files --hook-stage manual yamllint
112118
113119
prepare-test-cache:
114120
runs-on: ubuntu-latest

0 commit comments

Comments
 (0)