Skip to content

Commit

Permalink
Fix up precommit and github jobs paths for YAML tempalte changes
Browse files Browse the repository at this point in the history
  • Loading branch information
Steve Keay committed Sep 10, 2024
1 parent c7f1382 commit cd9e986
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 5 deletions.
6 changes: 2 additions & 4 deletions .github/workflows/yamllint.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -43,11 +43,9 @@ jobs:
with:
jsonSchemaFile: argo-workflows/.workflow_with_description.schema.json
yamlFiles: |
argo-workflows/**/workflowtemplates/*.y*ml
argo-workflows/**/sensors/*.y*ml
argo-workflows/**/workflows/*.y*ml
argo-workflows/workflowtemplates/*.y*ml
argo-workflows/sensors/*.y*ml
apps/understack-workflows/workflows/workflowtemplates/*.y*ml
shellcheck:
runs-on: ubuntu-latest
steps:
Expand Down
2 changes: 1 addition & 1 deletion .pre-commit-config.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -40,7 +40,7 @@ repos:
args:
- --schemafile
- https://raw.githubusercontent.com/argoproj/argo-workflows/master/api/jsonschema/schema.json
files: "argo-workflows/.*/(workflows|workflowtemplates)/.*.(yml|yaml)$"
files: "argo-workflows/(sensors|workflowtemplates)/.*.(yml|yaml)$"
- repo: https://github.com/igorshubovych/markdownlint-cli
rev: v0.37.0
hooks:
Expand Down

0 comments on commit cd9e986

Please sign in to comment.