From f314c3fd406e6bde863a077e1b98fe3eb2acce8d Mon Sep 17 00:00:00 2001 From: Kanad Gupta Date: Wed, 15 Feb 2023 15:29:25 -0500 Subject: [PATCH] fix: try this to see if branch protections work --- .github/workflows/release.yml | 2 ++ 1 file changed, 2 insertions(+) diff --git a/.github/workflows/release.yml b/.github/workflows/release.yml index 80c4f5b87..0aaa929d1 100644 --- a/.github/workflows/release.yml +++ b/.github/workflows/release.yml @@ -12,6 +12,7 @@ jobs: - uses: actions/checkout@v3 with: fetch-depth: 0 + token: ${{ secrets.RELEASE_GH_TOKEN }} - uses: actions/setup-node@v3 with: node-version: 16 @@ -20,6 +21,7 @@ jobs: run: npm ci && npm run build - name: Run semantic-release workflow env: + GH_TOKEN: ${{ secrets.RELEASE_GH_TOKEN }} GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} NPM_TOKEN: ${{ secrets.NPM_TOKEN }} run: npx semantic-release