Skip to content

Commit

Permalink
Fix go release gha token (#79)
Browse files Browse the repository at this point in the history
  • Loading branch information
goruha authored Apr 24, 2024
1 parent c5892f1 commit 08405ac
Showing 1 changed file with 3 additions and 2 deletions.
5 changes: 3 additions & 2 deletions .github/workflows/shared-go-auto-release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -59,8 +59,7 @@ on:
description: Tag exists so skip new release issue
value: ${{ jobs.publish.outputs.exists }}

permissions:
content: read
permissions: {}

jobs:
draft:
Expand Down Expand Up @@ -91,6 +90,7 @@ jobs:
uses: actions/checkout@v4
with:
path: source
token: ${{ steps.github-app.outputs.token }}

- name: Unshallow
working-directory: source
Expand Down Expand Up @@ -138,6 +138,7 @@ jobs:
.github/goreleaser.yml
sparse-checkout-cone-mode: false
ref: main
token: ${{ steps.github-app.outputs.token }}

- name: Go releaser config
working-directory: source
Expand Down

0 comments on commit 08405ac

Please sign in to comment.