Skip to content

Commit 97c1481

Browse files
committed
chore: reorder git diff command options
1 parent b10e121 commit 97c1481

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

.github/workflows/build.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -22,7 +22,7 @@ jobs:
2222
id: build
2323
shell: bash {0} # Required to check exit code
2424
run: |
25-
git diff --merge-base "$GITHUB_BASE_REF" --exit-code "$BICEP_FILE_PATH"
25+
git diff --exit-code --merge-base "$GITHUB_BASE_REF" "$BICEP_FILE_PATH"
2626
exit_code="$?"
2727
if [[ "$exit_code" == 0 ]]; then
2828
echo "No changes made to Bicep file. Skipping build."

0 commit comments

Comments
 (0)