From dd9458d1049d6cba336c3f720a58e053ca6cf1b1 Mon Sep 17 00:00:00 2001 From: Simon Davis Date: Thu, 20 May 2021 08:45:30 -0700 Subject: [PATCH] specify ref as release event ref is last commit on release --- .github/workflows/release.yml | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/.github/workflows/release.yml b/.github/workflows/release.yml index d313a20f0ab..5e34f3655fa 100644 --- a/.github/workflows/release.yml +++ b/.github/workflows/release.yml @@ -30,7 +30,8 @@ jobs: steps: - uses: actions/checkout@v2 with: - fetch-depth: 0 + fetch-depth: 0 + ref: main - run: | CHANGELOG_FILE_NAME="CHANGELOG.md" PREVIOUS_RELEASE_TAG=$(git describe --abbrev=0 --match='v*.*.*' --tags)