Skip to content

Commit

Permalink
Merge pull request #115 from rackerlabs/check-workflows
Browse files Browse the repository at this point in the history
ci: check argo workflows and workflow templates in pre-commit
  • Loading branch information
cardoe authored Jun 18, 2024
2 parents fec9f57 + 5024ae0 commit 127b46d
Showing 1 changed file with 9 additions and 0 deletions.
9 changes: 9 additions & 0 deletions .pre-commit-config.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -25,3 +25,12 @@ repos:
- --line-length=120
- --check
- --diff
- repo: https://github.com/python-jsonschema/check-jsonschema
rev: 0.28.4
hooks:
- id: check-jsonschema
name: validate argo workflows / workflowtemplates
args:
- --schemafile
- https://raw.githubusercontent.com/argoproj/argo-workflows/master/api/jsonschema/schema.json
files: "argo-workflows/.*/(workflows|workflowtemplates)/.*.(yml|yaml)$"

0 comments on commit 127b46d

Please sign in to comment.