Skip to content

Commit 76e41d7

Browse files
fix: add permissions for release workflow
1 parent 26ea93e commit 76e41d7

1 file changed

Lines changed: 4 additions & 0 deletions

File tree

.github/workflows/release.yml

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,8 @@
11
name: Release and Publish
22

3+
permissions:
4+
contents: write
5+
36
on:
47
workflow_dispatch:
58
inputs:
@@ -36,6 +39,7 @@ jobs:
3639
run: |
3740
git config user.name "github-actions[bot]"
3841
git config user.email "github-actions[bot]@users.noreply.github.com"
42+
git remote set-url origin https://x-access-token:${{ secrets.GITHUB_TOKEN }}@github.com/${{ github.repository }}
3943
4044
- name: Backup current state
4145
id: backup

0 commit comments

Comments
 (0)