We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent b10e121 commit 97c1481Copy full SHA for 97c1481
.github/workflows/build.yml
@@ -22,7 +22,7 @@ jobs:
22
id: build
23
shell: bash {0} # Required to check exit code
24
run: |
25
- git diff --merge-base "$GITHUB_BASE_REF" --exit-code "$BICEP_FILE_PATH"
+ git diff --exit-code --merge-base "$GITHUB_BASE_REF" "$BICEP_FILE_PATH"
26
exit_code="$?"
27
if [[ "$exit_code" == 0 ]]; then
28
echo "No changes made to Bicep file. Skipping build."
0 commit comments