From 0860ea09515039da4d606cfdb3ae9998b5089d2f Mon Sep 17 00:00:00 2001 From: Liam DeBeasi Date: Wed, 17 Jan 2024 09:39:57 -0500 Subject: [PATCH] chore: workflow pulls correct version of branch --- .github/workflows/release.yml | 7 +++++++ 1 file changed, 7 insertions(+) diff --git a/.github/workflows/release.yml b/.github/workflows/release.yml index c8ae6fcd02..e8e9711f77 100644 --- a/.github/workflows/release.yml +++ b/.github/workflows/release.yml @@ -79,6 +79,13 @@ jobs: runs-on: ubuntu-latest steps: - uses: actions/checkout@v3 + # Pull the latest version of the reference + # branch instead of the revision that triggered + # the workflow otherwise we won't get the commit + # created in the previous job and this next job + # will fail. + with: + ref: ${{ github.ref }} - name: Configure Identity # Commits from github-actions do not # trigger other GitHub Actions. As a result,