From 092c64e9986f3ecca0990c051dcfb1b76f52d5bb Mon Sep 17 00:00:00 2001 From: Varun Gandhi Date: Tue, 16 Aug 2022 17:07:34 +0800 Subject: [PATCH] ci: Pass GITHUB_TOKEN for using gh CLI. TFW you're writing workflows without type-checking. Sigh. --- .github/workflows/release.yml | 2 ++ 1 file changed, 2 insertions(+) diff --git a/.github/workflows/release.yml b/.github/workflows/release.yml index a8736a028..f93374df7 100644 --- a/.github/workflows/release.yml +++ b/.github/workflows/release.yml @@ -106,3 +106,5 @@ jobs: uses: actions/download-artifact@v3 - name: '📤 Upload artifacts for release' run: gh release upload "${GITHUB_REF/refs\/tags\//}" ./*-release-artifacts/* + env: + GH_TOKEN: ${{ secrets.GITHUB_TOKEN }}