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