From df2f74d9832f0d71a55942af000ea72d437c2801 Mon Sep 17 00:00:00 2001 From: Kjeld Schouten Date: Wed, 24 May 2023 20:01:18 +0200 Subject: [PATCH] Update charts-lint.yaml Signed-off-by: Kjeld Schouten --- .github/workflows/charts-lint.yaml | 9 +++++++++ 1 file changed, 9 insertions(+) diff --git a/.github/workflows/charts-lint.yaml b/.github/workflows/charts-lint.yaml index 1f8a7ad7852..7109d2db35c 100644 --- a/.github/workflows/charts-lint.yaml +++ b/.github/workflows/charts-lint.yaml @@ -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'