ci: allow release job to write to repository using standard github token

This commit is contained in:
Mateusz Filipowicz
2025-02-07 02:01:48 +01:00
parent eef49a40e0
commit 66ff759909

View File

@@ -7,6 +7,8 @@ on:
jobs:
goreleaser:
runs-on: ubuntu-latest
permissions:
contents: write
steps:
- name: Checkout
uses: actions/checkout@v4
@@ -22,7 +24,6 @@ jobs:
uses: crazy-max/ghaction-import-gpg@v6
with:
gpg_private_key: ${{ secrets.GPG_PRIVATE_KEY }}
passphrase: ${{ secrets.PASSPHRASE }}
- name: Run GoReleaser
uses: goreleaser/goreleaser-action@v6
with: