Skip to content

Commit 2b45fda

Browse files
authored
ci: fix pre-commit pipeline exclusion (#143)
1 parent c5c0eec commit 2b45fda

File tree

3 files changed

+4
-6
lines changed

3 files changed

+4
-6
lines changed

.pre-commit-config.yaml

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
---
22
repos:
33
- repo: https://github.com/seisollc/goat
4-
rev: 12b199761bf6408ca7209d3acd6c8b5a2279916f
4+
rev: c5c0eec4c6de4aafa4bdefbe4df21c3ef7156a17
55
hooks:
66
- id: seiso-lint

Taskfile.yml

+2-4
Original file line numberDiff line numberDiff line change
@@ -66,11 +66,9 @@ tasks:
6666
internal: true
6767
sources:
6868
- .pre-commit-config.yaml
69-
status:
70-
# Don't run this in pipelines
71-
- '{{if eq .GITHUB_ACTIONS "true"}}exit 1{{end}}'
7269
cmds:
73-
- pipenv run pre-commit install
70+
# Don't run this in pipelines
71+
- '{{if ne .GITHUB_ACTIONS "true"}}pipenv run pre-commit install{{end}}'
7472

7573
init:
7674
desc: Initialize the repo for local use; intended to be run after git clone

0 commit comments

Comments
 (0)