From c32d7af4d9df53763776c85f8855995230aa62bd Mon Sep 17 00:00:00 2001 From: Linden <65407488+thelindat@users.noreply.github.com> Date: Fri, 1 Mar 2024 09:19:52 +1100 Subject: [PATCH] ci(release): set repo ref to main --- .github/workflows/release.yml | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/.github/workflows/release.yml b/.github/workflows/release.yml index b0e5e01..3db1ad1 100644 --- a/.github/workflows/release.yml +++ b/.github/workflows/release.yml @@ -18,11 +18,13 @@ jobs: uses: actions/checkout@v3 with: token: ${{ secrets.PAT_TOKEN }} + fetch-depth: 0 + ref: ${{ github.event.repository.default_branch }} - name: Install pnpm - uses: pnpm/action-setup@v2.0.1 + uses: pnpm/action-setup@v2.4.0 with: - version: 8.7.5 + version: 8 - name: Get variables id: get_vars