We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 7097562 commit 273928cCopy full SHA for 273928c
.github/workflows/build-images.yml
@@ -105,7 +105,7 @@ jobs:
105
id: check_changes
106
run: |
107
DOCKERFILE_DIR=$(dirname ${{ matrix.file_tag.file }})
108
- FILES_CHANGED=$(git diff --name-only ${{ github.event.before }} ${{ github.sha }} -- $DOCKERFILE_DIR)
+ FILES_CHANGED=$(git diff --name-only ${{ github.event.pull_request.base.sha }} ${{ github.sha }} -- $DOCKERFILE_DIR)
109
FORCE_PUSH=${{ inputs.push }}
110
if [ "$FORCE_PUSH" = true ]; then
111
echo "Force push is enabled, proceeding with build."
0 commit comments