Update charts-lint.yaml

Signed-off-by: Kjeld Schouten <kjeld@schouten-lebbing.nl>
This commit is contained in:
Kjeld Schouten 2023-05-24 20:01:18 +02:00 committed by GitHub
parent 342047df7b
commit df2f74d983
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 9 additions and 0 deletions

View File

@ -9,6 +9,9 @@ on:
chartChangesDetected:
required: true
type: string
modifiedFiles:
required: true
type: string
jobs:
lint-and-verify:
@ -49,6 +52,12 @@ jobs:
echo "detected=true" >> "$GITHUB_OUTPUT"
fi
- name: Run against changes
uses: pre-commit/action@v2.0.3
if: steps.list-changed.outputs.detected == 'true'
with:
extra_args: --files ${{ inputs.modifiedFiles }}
- name: Fetch and Verify dependencies
shell: bash
if: steps.list-changed.outputs.detected == 'true'