Skip to content

Commit

Permalink
Use target commit SHA for build image workflow (apache#24659)
Browse files Browse the repository at this point in the history
The build-image workflow should use TARGET_COMMIT_SHA as the
selective check COMMIT_REF otherwise it might not build
image when needed

(cherry picked from commit 2ffaebe)
  • Loading branch information
potiuk committed Jun 29, 2022
1 parent 1bea5b0 commit 0c55c72
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion .github/workflows/build-images.yml
Original file line number Diff line number Diff line change
Expand Up @@ -121,7 +121,7 @@ jobs:
id: selective-checks
env:
PR_LABELS: "$${{ steps.get-latest-pr-labels.outputs.pullRequestLabels }}"
COMMIT_REF: "${{ github.sha }}"
COMMIT_REF: "${{ env.TARGET_COMMIT_SHA }}"
run: breeze selective-check
- name: Compute dynamic outputs
id: dynamic-outputs
Expand Down

0 comments on commit 0c55c72

Please sign in to comment.