From 4f41f55eedf1154b3321fbf30d2d47b4134cde70 Mon Sep 17 00:00:00 2001 From: Doug Gschwind Date: Fri, 8 Sep 2023 16:32:17 -0700 Subject: [PATCH] docs: add updating hook versions section --- README.md | 10 ++++++++-- 1 file changed, 8 insertions(+), 2 deletions(-) diff --git a/README.md b/README.md index bbfe9cd..536e52b 100644 --- a/README.md +++ b/README.md @@ -49,7 +49,7 @@ in this example, some of the hooks enabled would be redundant. ```yaml repos: - repo: https://github.com/turo/pre-commit-hooks - rev: v2.0.0 # You may version pin this if desired + rev: v3.0.0 # You may version pin this if desired hooks: - id: go-test-unit - id: go-build @@ -103,7 +103,7 @@ A typical `pre-commit-config.yaml` for a Golang project would look like this: ```yaml repos: - repo: https://github.com/turo/pre-commit-hooks - rev: v2.0.0 # You may version pin this if desired + rev: v3.0.0 # You may version pin this if desired hooks: - id: go-mod-tidy # Clean up go.mod - id: go-build # Check compilation @@ -112,6 +112,12 @@ repos: - id: gomarkdoc # Generate documenation ``` +## Updating hook versions + +The version of the hook, e.g. `golangci-lint`, that is actually used by this Action may be made available +via instructions in the `packer-github-actions-general` GitHub repository. Thus, please refer to +that repository to upgrade any specific hook version. + ## Contributing Feel free to Pull Request this repository to add any commonly used hooks which