diff --git a/.github/workflows/release.yml b/.github/workflows/release.yml index 867d4b5..84a57a5 100644 --- a/.github/workflows/release.yml +++ b/.github/workflows/release.yml @@ -4,6 +4,10 @@ on: release: types: [created] +permissions: + contents: write + packages: write + jobs: releases-matrix: name: Release Go Binary @@ -24,7 +28,7 @@ jobs: goos: darwin steps: - uses: actions/checkout@v3 - - uses: wangyoucao577/go-release-action@v1.32 + - uses: wangyoucao577/go-release-action@v1 with: github_token: ${{ secrets.GITHUB_TOKEN }} goos: ${{ matrix.goos }}