Skip to content

Commit ae0fbb8

Browse files
committed
chore: update release workflow to add permissions and fix release name reference
1 parent 05653c9 commit ae0fbb8

File tree

1 file changed

+5
-1
lines changed

1 file changed

+5
-1
lines changed

.github/workflows/release.yml

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,6 +5,10 @@ on:
55
tags:
66
- 'v*'
77

8+
# Add permissions to create releases
9+
permissions:
10+
contents: write
11+
812
jobs:
913
release:
1014
name: Create Release
@@ -42,7 +46,7 @@ jobs:
4246
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
4347
with:
4448
tag_name: ${{ github.ref }}
45-
release_name: Phoenix VPN ${{ github.ref }}
49+
release_name: Phoenix VPN ${{ github.ref_name }}
4650
draft: false
4751
prerelease: false
4852

0 commit comments

Comments
 (0)