diff --git a/.github/workflows/release.yml b/.github/workflows/release.yml index d39270db..01d1f6f1 100644 --- a/.github/workflows/release.yml +++ b/.github/workflows/release.yml @@ -14,6 +14,8 @@ on: push: tags: - "v*" +permissions: + contents: write jobs: goreleaser: runs-on: ubuntu-latest @@ -33,7 +35,7 @@ jobs: gpg_private_key: ${{ secrets.GPG_PRIVATE_KEY }} passphrase: ${{ secrets.PASSPHRASE }} - name: Run GoReleaser - uses: goreleaser/goreleaser-action@v4 + uses: goreleaser/goreleaser-action@v5 with: version: latest args: release --rm-dist