Skip to content

Commit

Permalink
refactor: remove unnecessary permissions and add write permission for…
Browse files Browse the repository at this point in the history
… contents

- Remove the `actions: read` permission
- Remove the `contents: read` permission
- Remove the `statuses: write` permission
- Remove the `concurrency` section
- Add the `contents: write` permission

Signed-off-by: Bo-Yi Wu <[email protected]>
  • Loading branch information
appleboy committed Dec 5, 2023
1 parent 2e7cd15 commit 96e1c92
Showing 1 changed file with 1 addition and 7 deletions.
8 changes: 1 addition & 7 deletions .github/workflows/goreleaser.yml
Original file line number Diff line number Diff line change
Expand Up @@ -6,13 +6,7 @@ on:
- "*"

permissions:
actions: read
contents: read
statuses: write

concurrency:
group: ${{ github.workflow }}-${{ github.ref }}
cancel-in-progress: true
contents: write

jobs:
goreleaser:
Expand Down

0 comments on commit 96e1c92

Please sign in to comment.