Skip to content

Commit 96e1c92

Browse files
committed
refactor: remove unnecessary permissions and add write permission for 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 <appleboy.tw@gmail.com>
1 parent 2e7cd15 commit 96e1c92

File tree

1 file changed

+1
-7
lines changed

1 file changed

+1
-7
lines changed

.github/workflows/goreleaser.yml

+1-7
Original file line numberDiff line numberDiff line change
@@ -6,13 +6,7 @@ on:
66
- "*"
77

88
permissions:
9-
actions: read
10-
contents: read
11-
statuses: write
12-
13-
concurrency:
14-
group: ${{ github.workflow }}-${{ github.ref }}
15-
cancel-in-progress: true
9+
contents: write
1610

1711
jobs:
1812
goreleaser:

0 commit comments

Comments
 (0)