Skip to content

Commit 0788147

Browse files
authored
chore: Use new specific gh limited permissions token (#273)
1 parent f39da53 commit 0788147

1 file changed

Lines changed: 6 additions & 1 deletion

File tree

.github/workflows/release.yml

Lines changed: 6 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -35,4 +35,9 @@ jobs:
3535
- run: yarn install --frozen-lockfile
3636

3737
- name: Release
38-
run: npx semantic-release ${{ github.event.inputs.cliArgs }}
38+
env:
39+
GITHUB_TOKEN: ${{ secrets.GH_TOKEN_WEBVIEW_BRIDGE }}
40+
run: |
41+
# Configure git remote with token for push
42+
git remote set-url origin "https://x-access-token:${GITHUB_TOKEN}@github.com/${{ github.repository }}.git"
43+
npx semantic-release ${{ github.event.inputs.cliArgs }}

0 commit comments

Comments
 (0)