diff --git a/.github/workflows/release.yml b/.github/workflows/release.yml index e8f2105..6ebd535 100644 --- a/.github/workflows/release.yml +++ b/.github/workflows/release.yml @@ -7,10 +7,12 @@ on: - "*" permissions: - contents: write + contents: read jobs: goreleaser: + permissions: + contents: write runs-on: ubuntu-latest steps: - name: Harden the runner (Audit all outbound calls) @@ -35,4 +37,4 @@ jobs: version: "~> v2" args: release --clean env: - GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} \ No newline at end of file + GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}