From fc3c8febf138d2496170f644ae24374b2c786ef9 Mon Sep 17 00:00:00 2001 From: Burak Yigit Kaya Date: Thu, 17 Dec 2020 22:56:18 +0300 Subject: [PATCH] ci(release): Map `GITHUB_TOKEN` to `GITHUB_API_TOKEN` for craft --- .github/workflows/release.yml | 2 ++ 1 file changed, 2 insertions(+) diff --git a/.github/workflows/release.yml b/.github/workflows/release.yml index 6ce739220fa8..89a2c5ec5f74 100644 --- a/.github/workflows/release.yml +++ b/.github/workflows/release.yml @@ -24,6 +24,8 @@ jobs: fetch-depth: 0 - name: Craft Prepare run: npx @sentry/craft prepare --no-input "${{ env.RELEASE_VERSION }}" + env: + GITHUB_API_TOKEN: $${ github.token } - name: Request publish if: success() uses: actions/github-script@v3