Skip to content

Commit

Permalink
Add plugin version pre-commit hook for Agent Plugin project
Browse files Browse the repository at this point in the history
  • Loading branch information
ilija-lazoroski committed Jul 19, 2024
1 parent 7e791f6 commit 948231b
Showing 1 changed file with 7 additions and 0 deletions.
7 changes: 7 additions & 0 deletions {{cookiecutter.project_name}}/.pre-commit-config.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -54,3 +54,10 @@ repos:
rev: v{{ cookiecutter._vulture_version }}
hooks:
- id: vulture
{%- if cookiecutter.__project_type=="agent_plugin" %}
- repo: https://github.com/guardicode/plugin-version-commit-hook
rev: v1.0.0
hooks:
- id: plugin-version-commit-hook
args: ["manifest.yaml", "manifest.yml", "pyproject.toml"]
{%- endif %}

0 comments on commit 948231b

Please sign in to comment.