Skip to content

Commit 2d70471

Browse files
authored
Merge pull request #60 from Vonage/APIAPEX-2420/change_github_token
APIAPEX-2468: use github token from github actions
2 parents ee72145 + e54a92e commit 2d70471

File tree

1 file changed

+3
-4
lines changed

1 file changed

+3
-4
lines changed

.github/workflows/release.yml

Lines changed: 3 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@ on:
77
permissions:
88
actions: write
99
checks: write
10-
contents: read
10+
contents: write
1111
deployments: read
1212
issues: write
1313
discussions: write
@@ -22,7 +22,6 @@ jobs:
2222
runs-on: macos-latest
2323
env:
2424
API_VERSION: ${{ vars.API_VERSION }}
25-
TOKEN: ${{ secrets.ACCESS_TOKEN }}
2625
strategy:
2726
matrix:
2827
go-version: [1.24.0]
@@ -114,9 +113,9 @@ jobs:
114113
tar czf bin/vcr_windows_amd64.tar.gz ./vcr_windows_amd64.exe
115114
116115
- name: Release
117-
uses: softprops/action-gh-release@v1
116+
uses: softprops/action-gh-release@v2
118117
with:
119-
token: ${{ env.TOKEN }}
118+
token: ${{ secrets.GITHUB_TOKEN }}
120119
files: |
121120
bin/vcr_darwin_amd64.tar.gz
122121
bin/vcr_darwin_arm64.tar.gz

0 commit comments

Comments
 (0)