Skip to content

Commit

Permalink
Merge pull request #3 from dafyddj/fix/updates
Browse files Browse the repository at this point in the history
fix(deps): update pre-commit hooks from `base-packer-build`
  • Loading branch information
dafyddj authored Apr 23, 2024
2 parents c2af821 + e106e6a commit a558307
Show file tree
Hide file tree
Showing 4 changed files with 32 additions and 12 deletions.
2 changes: 1 addition & 1 deletion .gitmodules
Original file line number Diff line number Diff line change
@@ -1,3 +1,3 @@
[submodule "base"]
path = base
url = https://github.com/dafyddj/workflow-packer-build
url = https://github.com/dafyddj/base-packer-build
2 changes: 1 addition & 1 deletion base
Submodule base updated from 9af312 to 96352d
20 changes: 15 additions & 5 deletions template/.pre-commit-config.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -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"]
20 changes: 15 additions & 5 deletions test/SetBoxName/pre-commit_yaml.tt
Original file line number Diff line number Diff line change
Expand Up @@ -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"]

0 comments on commit a558307

Please sign in to comment.