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 156069c commit b054201Copy full SHA for b054201
.github/workflows/build.yml
@@ -22,7 +22,8 @@ jobs:
22
id: build
23
shell: bash {0} # Required to check exit code
24
run: |
25
- git diff --exit-code --merge-base "origin/$GITHUB_BASE_REF" "$BICEP_FILE_PATH"
+ git fetch origin "$GITHUB_BASE_REF"
26
+ git diff --exit-code --merge-base "$GITHUB_BASE_REF" "$BICEP_FILE_PATH"
27
exit_code="$?"
28
if [[ "$exit_code" == 0 ]]; then
29
echo "No changes made to Bicep file. Skipping build."
0 commit comments