Skip to content

Commit

Permalink
fix: update permissions on release action (#226)
Browse files Browse the repository at this point in the history
  • Loading branch information
fzipi authored Dec 15, 2023
1 parent 4a33efc commit ac7fe90
Showing 1 changed file with 7 additions and 0 deletions.
7 changes: 7 additions & 0 deletions .github/workflows/release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -5,9 +5,16 @@ on:
tags:
- '*'

# Declare default permissions as read only.
permissions: read-all

jobs:
goreleaser:
runs-on: ubuntu-latest
permissions:
# https://goreleaser.com/ci/actions/#token-permissions
contents: write

steps:
-
name: Checkout
Expand Down

0 comments on commit ac7fe90

Please sign in to comment.