Skip to content

Commit

Permalink
[CI] Run shellcheck on custom lint file (prometheus-community#4072)
Browse files Browse the repository at this point in the history
Signed-off-by: Gabriel Martinez <gabrielmartinez@sisti.pt>
  • Loading branch information
GMartinez-Sisti authored and Matiasmct committed Mar 20, 2024
1 parent 0e09a32 commit f2f5709
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion .github/linters/ct.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -12,5 +12,5 @@ excluded-charts:
# If not running on GCE, will error: "Failed to get GCE config"
- prometheus-to-sd
additional-commands:
- sh -c "if [ -f '{{ .Path }}/ci/lint.sh' ]; then exec bash '{{ .Path }}/ci/lint.sh'; fi"
- sh -ec "if [ -f '{{ .Path }}/ci/lint.sh' ]; then shellcheck '{{ .Path }}/ci/lint.sh'; bash '{{ .Path }}/ci/lint.sh'; fi"
# - helm unittest --helm3 --strict --file unittests/*.yaml --file 'unittests/**/*.yaml' {{ .Path }}

0 comments on commit f2f5709

Please sign in to comment.