From 1b19552ccbc9ed3854c0c38c6e1b365868703267 Mon Sep 17 00:00:00 2001 From: Dafydd Jones Date: Tue, 23 Apr 2024 20:01:31 +0100 Subject: [PATCH 1/3] chore: switch base to `base-packer-build` --- .gitmodules | 2 +- base | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/.gitmodules b/.gitmodules index c48991c..dbc21aa 100644 --- a/.gitmodules +++ b/.gitmodules @@ -1,3 +1,3 @@ [submodule "base"] path = base - url = https://github.com/dafyddj/workflow-packer-build + url = https://github.com/dafyddj/base-packer-build diff --git a/base b/base index 9af312b..96352d5 160000 --- a/base +++ b/base @@ -1 +1 @@ -Subproject commit 9af312b0a37edc2bdc7d8542131d178c21e4e7ce +Subproject commit 96352d587fac62d4668161f103a62ad164171ee3 From d5b3b44a16af766ac79c157257b31c152273cbba Mon Sep 17 00:00:00 2001 From: Dafydd Jones Date: Tue, 23 Apr 2024 20:04:36 +0100 Subject: [PATCH 2/3] fix(deps): update pre-commit hooks from `base-packer-build` --- template/.pre-commit-config.yaml | 20 +++++++++++++++----- 1 file changed, 15 insertions(+), 5 deletions(-) diff --git a/template/.pre-commit-config.yaml b/template/.pre-commit-config.yaml index 0e5ac23..c75a537 100644 --- a/template/.pre-commit-config.yaml +++ b/template/.pre-commit-config.yaml @@ -2,10 +2,20 @@ # See https://pre-commit.com/hooks.html for more hooks repos: - repo: https://github.com/pre-commit/pre-commit-hooks - rev: v3.2.0 + rev: v4.6.0 hooks: -# - id: trailing-whitespace -# - id: end-of-file-fixer - - id: check-yaml + - id: check-added-large-files + - id: check-merge-conflict + args: [--assume-in-merge] + - id: check-yaml exclude: ^kitchen.yml$ - - id: check-added-large-files + - repo: https://github.com/python-jsonschema/check-jsonschema + rev: 0.28.2 + hooks: + - id: check-github-workflows + name: Check GitHub workflows with check-jsonschema + args: ["--verbose"] + - id: check-renovate + name: Check Renovate config with check-jsonschema + additional_dependencies: [json5==0.9.14] + args: ["--verbose"] From e106e6aed1f2c88f079c2027519e6a8ad385fa87 Mon Sep 17 00:00:00 2001 From: Dafydd Jones Date: Tue, 23 Apr 2024 20:05:11 +0100 Subject: [PATCH 3/3] test: approve new changes --- test/SetBoxName/pre-commit_yaml.tt | 20 +++++++++++++++----- 1 file changed, 15 insertions(+), 5 deletions(-) diff --git a/test/SetBoxName/pre-commit_yaml.tt b/test/SetBoxName/pre-commit_yaml.tt index 0e5ac23..c75a537 100644 --- a/test/SetBoxName/pre-commit_yaml.tt +++ b/test/SetBoxName/pre-commit_yaml.tt @@ -2,10 +2,20 @@ # See https://pre-commit.com/hooks.html for more hooks repos: - repo: https://github.com/pre-commit/pre-commit-hooks - rev: v3.2.0 + rev: v4.6.0 hooks: -# - id: trailing-whitespace -# - id: end-of-file-fixer - - id: check-yaml + - id: check-added-large-files + - id: check-merge-conflict + args: [--assume-in-merge] + - id: check-yaml exclude: ^kitchen.yml$ - - id: check-added-large-files + - repo: https://github.com/python-jsonschema/check-jsonschema + rev: 0.28.2 + hooks: + - id: check-github-workflows + name: Check GitHub workflows with check-jsonschema + args: ["--verbose"] + - id: check-renovate + name: Check Renovate config with check-jsonschema + additional_dependencies: [json5==0.9.14] + args: ["--verbose"]