diff --git a/.github/workflows/lint.yaml b/.github/workflows/lint.yaml index 57055f3d70..61956f6155 100644 --- a/.github/workflows/lint.yaml +++ b/.github/workflows/lint.yaml @@ -23,7 +23,11 @@ jobs: uses: trilom/file-changes-action@v1.2.4 with: output: ' ' + continue-on-error: true - run: ./format.sh ${{ steps.files.outputs.files}} + if: ${{ steps.files.outcome == 'success' }} + - run: ./format.sh + if: ${{ steps.files.outcome == 'failure' }} # fail if any files were changed by ./format.sh - id: files_formatted