Skip to content

Commit 261d087

Browse files
committed
use permissions instead of token
1 parent 6754535 commit 261d087

File tree

1 file changed

+3
-1
lines changed

1 file changed

+3
-1
lines changed

.github/workflows/maven-publish.yml

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,6 +5,9 @@ on:
55
branches:
66
- '*'
77

8+
permissions:
9+
contents: write
10+
811
jobs:
912
build:
1013

@@ -38,4 +41,3 @@ jobs:
3841
with:
3942
folder: target/dist
4043
CLEAN: false
41-
token: ${{ secrets.GITHUB_TOKEN }}

0 commit comments

Comments
 (0)