Skip to content

Commit

Permalink
Update github actions fprettify workflow to output a warning rather than
Browse files Browse the repository at this point in the history
an error
  • Loading branch information
JamieJQuinn committed Feb 8, 2024
1 parent 7878dd3 commit 883b592
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion .github/workflows/check_policies.yml
Original file line number Diff line number Diff line change
Expand Up @@ -19,6 +19,6 @@ jobs:
- uses: actions/checkout@v3
- run: pip install fprettify
- run: fprettify --config .fprettify.ini --diff --recursive src
- run: test -z "$($FPRETTIFY_COMMAND)"
- run: if [ ! -z $($FPRETTIFY_COMMAND) ]; then echo "::warning::Code formatting issues detected"; fi
env:
FPRETTIFY_COMMAND: fprettify --config .fprettify.ini --diff --recursive src

0 comments on commit 883b592

Please sign in to comment.