Skip to content

Commit c0da79f

Browse files
authored
Merge pull request #133 from powersync-ja/fix/set-gh-token-for-release
Update release workflow to include environment variables
2 parents 1f8c1c4 + 5bd04d1 commit c0da79f

File tree

1 file changed

+5
-0
lines changed

1 file changed

+5
-0
lines changed

.github/workflows/release.yml

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -14,6 +14,8 @@ on:
1414
jobs:
1515
build:
1616
runs-on: ubuntu-latest
17+
permissions:
18+
contents: write
1719

1820
steps:
1921
- name: Checkout Repository
@@ -32,6 +34,9 @@ jobs:
3234
run: melos prepare
3335

3436
- name: Create Draft Release
37+
env:
38+
GH_TOKEN: ${{ github.token }}
39+
GH_REPO: ${{ github.repository }}
3540
run: |
3641
tag="${{ github.ref_name }}"
3742
body="Release $tag"

0 commit comments

Comments
 (0)