Skip to content

Commit

Permalink
add github action permissions
Browse files Browse the repository at this point in the history
  • Loading branch information
husseinferas committed Jan 19, 2023
1 parent 058cc76 commit 020fc50
Showing 1 changed file with 9 additions and 2 deletions.
11 changes: 9 additions & 2 deletions .github/workflows/goreleaser.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -2,9 +2,17 @@ name: goreleaser

on:
push:
branches:
- "master"
tags:
- "v*.*.*"

permissions:
contents: read
pull-requests: write
issues: write
checks: read

jobs:
goreleaser:
runs-on: ubuntu-latest
Expand All @@ -26,5 +34,4 @@ jobs:
distribution: goreleaser
version: latest
args: release --rm-dist
env:
GITHUB_TOKEN: ${{ secrets.TOKEN_GORELEASER }}
repo-token: ${{ secrets.GITHUB_TOKEN }}

0 comments on commit 020fc50

Please sign in to comment.