Skip to content

Commit

Permalink
Use target commit SHA for build image workflow (#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
  • Loading branch information
potiuk authored Jun 25, 2022
1 parent 20ca9c2 commit 2ffaebe
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 2ffaebe

Please sign in to comment.