From 2d710ad355d7924371f73ec5910c3423575792a5 Mon Sep 17 00:00:00 2001 From: Imran Iqbal Date: Sun, 21 Feb 2021 08:17:02 +0000 Subject: [PATCH] feat(template): review PR 228 * https://github.com/saltstack-formulas/template-formula/pull/228 --- ssf/defaults.yaml | 4 ++-- ssf/files/default/.pre-commit-config.yaml | 5 ++--- 2 files changed, 4 insertions(+), 5 deletions(-) diff --git a/ssf/defaults.yaml b/ssf/defaults.yaml index bfe11ca4..c9230953 100644 --- a/ssf/defaults.yaml +++ b/ssf/defaults.yaml @@ -62,8 +62,8 @@ ssf_node_anchors: # An alternative method could be to use: # `git describe --abbrev=0 --tags` # yamllint disable rule:line-length rule:quoted-strings - title: "ci(gemfile+lock): use '`'ssf'`' customised '`'kitchen-docker'`' repo [skip ci]" - body: '* Automated using https://github.com/myii/ssf-formula/pull/294' + title: "chore(shellcheck): switch hook for '`'shellcheck'`' [skip ci]" + body: '* Automated using https://github.com/myii/ssf-formula/pull/295' # yamllint enable rule:line-length rule:quoted-strings github: owner: 'saltstack-formulas' diff --git a/ssf/files/default/.pre-commit-config.yaml b/ssf/files/default/.pre-commit-config.yaml index 2f3855c7..ca7d865a 100644 --- a/ssf/files/default/.pre-commit-config.yaml +++ b/ssf/files/default/.pre-commit-config.yaml @@ -27,14 +27,13 @@ repos: always_run: true pass_filenames: false {%- endif %} - - repo: https://github.com/jumanjihouse/pre-commit-hooks - rev: 2.1.3 + - repo: https://github.com/shellcheck-py/shellcheck-py + rev: v0.7.1.1 hooks: - id: shellcheck name: Check shell scripts with shellcheck files: ^.*\.(sh|bash|ksh)$ types: [] - args: [] - repo: https://github.com/adrienverge/yamllint rev: v1.23.0 hooks: