Skip to content

Commit

Permalink
Use alternate self-sufficient shellcheck precommit
Browse files Browse the repository at this point in the history
This pre-commit does not require prerequisite on the host, making it
easier to run in CI workflows.
  • Loading branch information
VannTen committed May 28, 2024
1 parent 5616a4a commit 21aba10
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 20 deletions.
1 change: 0 additions & 1 deletion .gitlab-ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -77,7 +77,6 @@ ci-authorized:
include:
- .gitlab-ci/build.yml
- .gitlab-ci/lint.yml
- .gitlab-ci/shellcheck.yml
- .gitlab-ci/terraform.yml
- .gitlab-ci/packet.yml
- .gitlab-ci/vagrant.yml
Expand Down
16 changes: 0 additions & 16 deletions .gitlab-ci/shellcheck.yml

This file was deleted.

6 changes: 3 additions & 3 deletions .pre-commit-config.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -27,11 +27,11 @@ repos:
args: [-r, "~MD013,~MD029"]
exclude: "^.git"

- repo: https://github.com/jumanjihouse/pre-commit-hooks
rev: 3.0.0
- repo: https://github.com/shellcheck-py/shellcheck-py
rev: v0.10.0.1
hooks:
- id: shellcheck
args: [--severity, "error"]
args: ["--severity=error"]
exclude: "^.git"
files: "\\.sh$"

Expand Down

0 comments on commit 21aba10

Please sign in to comment.