diff --git a/.github/workflows/custard-run-dev.yaml b/.github/workflows/custard-run-dev.yaml index e5034e1512..978496c3f2 100644 --- a/.github/workflows/custard-run-dev.yaml +++ b/.github/workflows/custard-run-dev.yaml @@ -82,6 +82,8 @@ jobs: if: ${{ !!github.event.workflow_run }} - name: Checkout uses: actions/checkout@11bd71901bbe5b1630ceea73d27597364c9af683 # v4 + with: + ref: ${{ github.event.workflow_run.head_sha || inputs.ref || github.sha }} - name: Authenticate uses: google-github-actions/auth@ba79af03959ebeac9769e648f473a284504d9193 # v2.1.10 id: auth diff --git a/.github/workflows/custard-run.yaml b/.github/workflows/custard-run.yaml index 423d4828d6..3dcb6648ff 100644 --- a/.github/workflows/custard-run.yaml +++ b/.github/workflows/custard-run.yaml @@ -77,6 +77,8 @@ jobs: if: ${{ !!github.event.workflow_run }} - name: Checkout uses: actions/checkout@11bd71901bbe5b1630ceea73d27597364c9af683 # v4 + with: + ref: ${{ github.event.workflow_run.head_sha || inputs.ref || github.sha }} - name: Setup Node uses: actions/setup-node@49933ea5288caeca8642d1e84afbd3f7d6820020 # v4 with: