From 626ecd319a89789aed8e288f6ba4b08343098039 Mon Sep 17 00:00:00 2001 From: Noah Date: Fri, 5 Mar 2021 12:49:50 -0500 Subject: [PATCH] chore: fix auto release workflow (#468) --- .github/workflows/release.yml | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/.github/workflows/release.yml b/.github/workflows/release.yml index 1c720bf2..eb528fd6 100644 --- a/.github/workflows/release.yml +++ b/.github/workflows/release.yml @@ -11,6 +11,9 @@ jobs: runs-on: ubuntu-latest steps: - uses: actions/checkout@v2 + with: + fetch-depth: 0 + persist-credentials: false - uses: cycjimmy/semantic-release-action@v2 with: branch: master @@ -19,4 +22,4 @@ jobs: @semantic-release/changelog @semantic-release/git env: - GH_TOKEN: ${{ secrets.GH_TOKEN }} + GITHUB_TOKEN: ${{ secrets.GH_TOKEN }}