From 8b57b53ec02ed7b3e1cba4e7e5370fb3a3fd155b Mon Sep 17 00:00:00 2001 From: Rodney Lorrimar Date: Fri, 30 Apr 2021 20:28:20 +1000 Subject: [PATCH] GitHub release script: add missing auth --- .github/workflows/release.yml | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/.github/workflows/release.yml b/.github/workflows/release.yml index 9b9c3d45af9..0c1f48cc5ae 100644 --- a/.github/workflows/release.yml +++ b/.github/workflows/release.yml @@ -9,7 +9,7 @@ on: jobs: release: - if: ${{ startsWith(github.ref, 'refs/tags/v') }} + if: ${{ startsWith(github.ref, 'refs/tags/v') || startsWith(github.ref, 'refs/heads/release/v') }} runs-on: ubuntu-20.04 steps: - name: '❄ Wait for Hydra build' @@ -31,6 +31,8 @@ jobs: files: | *.tar.gz *.zip + env: + GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} docs: runs-on: ubuntu-20.04