Skip to content

Commit e0f1f6d

Browse files
committed
Update github actions fprettify workflow to output a warning rather than
an error
1 parent 02056d2 commit e0f1f6d

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

.github/workflows/check_policies.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -19,6 +19,6 @@ jobs:
1919
- uses: actions/checkout@v3
2020
- run: pip install fprettify
2121
- run: fprettify --config .fprettify.ini --diff --recursive src
22-
- run: test -z "$($FPRETTIFY_COMMAND)"
22+
- run: if [ ! -z $($FPRETTIFY_COMMAND) ]; then echo "::warning::Code formatting issues detected"; fi
2323
env:
2424
FPRETTIFY_COMMAND: fprettify --config .fprettify.ini --diff --recursive src

0 commit comments

Comments
 (0)