Update charts-lint.yaml
Signed-off-by: Kjeld Schouten <kjeld@schouten-lebbing.nl>
This commit is contained in:
parent
5d0d745e5d
commit
d6cbc4282a
|
@ -52,7 +52,16 @@ jobs:
|
|||
echo "detected=true" >> "$GITHUB_OUTPUT"
|
||||
fi
|
||||
|
||||
- name: Run against changes
|
||||
- name: Fix Fixable Pre-Commit issues
|
||||
shell: bash
|
||||
if: inputs.chartChangesDetected == 'true'
|
||||
run: |
|
||||
echo "Running pre-commit test-and-cleanup..."
|
||||
pre-commit run --all ||:
|
||||
# Fix sh files to always be executable
|
||||
find . -name '*.sh' | xargs chmod +x
|
||||
|
||||
- name: Run Pre-Commit Scan
|
||||
uses: pre-commit/action@v2.0.3
|
||||
if: steps.list-changed.outputs.detected == 'true'
|
||||
with:
|
||||
|
|
Loading…
Reference in New Issue