Skip to content

Commit

Permalink
Fix Goreleaser permissions (#777)
Browse files Browse the repository at this point in the history
(hopefully) fixes:

```
Invalid workflow file: .github/workflows/release.yml#L13
The workflow is not valid. .github/workflows/release.yml (Line: 13, Col: 9): Unexpected value 'content'
```
  • Loading branch information
klauspost committed Mar 13, 2023
1 parent 5feee6c commit 62e373e
Showing 1 changed file with 2 additions and 3 deletions.
5 changes: 2 additions & 3 deletions .github/workflows/release.yml
Expand Up @@ -5,12 +5,11 @@ on:
tags:
- 'v*'

permissions: read-all
permissions:
content: write # for goreleaser/goreleaser-action to create a GitHub release

jobs:
goreleaser:
permissions:
content: write # for goreleaser/goreleaser-action to create a GitHub release
runs-on: ubuntu-latest
steps:
-
Expand Down

0 comments on commit 62e373e

Please sign in to comment.