From b7656fb76e67994f7f192221f12d0b86fdd74b45 Mon Sep 17 00:00:00 2001 From: RJ Trujillo Date: Wed, 16 Aug 2023 15:17:13 -0600 Subject: [PATCH] fix(ci): Yet another patch to ensure the PR number is always in the tag Got this in main, overlooked it here. Didn't notice it as the prior fix still resulted in a proper push. --- .github/workflows/build.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/workflows/build.yml b/.github/workflows/build.yml index 9c9bcf96..6531809a 100644 --- a/.github/workflows/build.yml +++ b/.github/workflows/build.yml @@ -89,7 +89,7 @@ jobs: COMMIT_TAGS+=("${SHA_SHORT}-${MAJOR_VERSION}") if [[ "${{ matrix.is_latest_version }}" == "true" ]] && \ [[ "${{ matrix.is_stable_version }}" == "true" ]]; then - COMMIT_TAGS+=("pr-${{ github.event.number }}") + COMMIT_TAGS+=("pr-${{ github.event.pull_request.number }}") COMMIT_TAGS+=("${SHA_SHORT}") fi