From edf70abb442f2e71e561e9bc9437b38b0ce2f732 Mon Sep 17 00:00:00 2001 From: Kjeld Schouten Date: Wed, 24 May 2023 20:06:03 +0200 Subject: [PATCH] Update daily.yaml Signed-off-by: Kjeld Schouten --- .github/workflows/daily.yaml | 9 +++++++++ 1 file changed, 9 insertions(+) diff --git a/.github/workflows/daily.yaml b/.github/workflows/daily.yaml index 749d450ebe2..780ccc8511f 100644 --- a/.github/workflows/daily.yaml +++ b/.github/workflows/daily.yaml @@ -203,6 +203,15 @@ jobs: sync_tag "charts/${train}/${chart}" "${chart}" "${train}" done done + + - 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: Cleanup run: |