Skip to content

Commit 78eb8da

Browse files
authored
fix: checkout correct commit on tests (#4092)
1 parent 0494bcb commit 78eb8da

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

.github/workflows/custard-run.yaml

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -128,6 +128,8 @@ jobs:
128128
if: ${{ !!github.event.workflow_run }}
129129
- name: Checkout
130130
uses: actions/checkout@11bd71901bbe5b1630ceea73d27597364c9af683 # v4
131+
with:
132+
ref: ${{ github.event.workflow_run.head_sha || inputs.ref || github.sha }}
131133
- name: Authenticate
132134
uses: google-github-actions/auth@ba79af03959ebeac9769e648f473a284504d9193 # v2.1.10
133135
id: auth

0 commit comments

Comments
 (0)