From 82d17fd5978269882b2353da7e344524c7876943 Mon Sep 17 00:00:00 2001 From: "Anna (Anya) Parker" <50943381+anna-parker@users.noreply.github.com> Date: Tue, 24 Sep 2024 14:00:49 +0200 Subject: [PATCH] try suggested fix in https://github.com/lewagon/wait-on-check-action/issues/68 --- .github/workflows/ena-submission-image.yaml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/workflows/ena-submission-image.yaml b/.github/workflows/ena-submission-image.yaml index 06ef89a6d6..28a11fb229 100644 --- a/.github/workflows/ena-submission-image.yaml +++ b/.github/workflows/ena-submission-image.yaml @@ -39,7 +39,7 @@ jobs: - name: Wait for submitToEnaProduction check uses: lewagon/wait-on-check-action@v1.3.4 with: - ref: ${{ github.sha }} + ref: ${{ github.event.pull_request.head.sha || github.sha }} check-name: Validate submitToEnaProduction is not true in values.yaml repo-token: ${{ secrets.GITHUB_TOKEN }} wait-interval: 10