Skip to content

Commit f6a3d0e

Browse files
authored
Fix: disable filename passing for Flux validation script (#3)
* feat: add yaml checks for flux validation * feat: refactor validate flux script add a validation function add summary printout add flags to controll output * chore: general fixs: removed todo fixed issue with duplicate cases added exit error code 1 when error occurs * patch: remove output redirection * refactor: improve file validation logic and output formatting * fix: update help message for validation options * fix: disable filename passing for Flux validation script
1 parent ec94b98 commit f6a3d0e

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

.pre-commit-hooks.yaml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -3,6 +3,7 @@
33
description: "A script to validate Flux custom resources and Kustomize overlays."
44
entry: ./scripts/validate-flux.sh
55
language: script
6+
pass_filenames: false
67
stages: [push]
78
- id: validate-eslint
89
name: validate eslint

0 commit comments

Comments
 (0)