Update charts-lint.yaml

Signed-off-by: Kjeld Schouten <kjeld@schouten-lebbing.nl>
This commit is contained in:
Kjeld Schouten 2023-05-24 20:04:47 +02:00 committed by GitHub
parent 5d0d745e5d
commit d6cbc4282a
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 10 additions and 1 deletions

View File

@ -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: