Skip to content

Commit 0b01b3a

Browse files
committed
Update GitHub workflow: add contents write permission and remove redundant token
1 parent 2e5402b commit 0b01b3a

File tree

1 file changed

+3
-2
lines changed

1 file changed

+3
-2
lines changed

.github/workflows/release.yml

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -8,6 +8,8 @@ on:
88
jobs:
99
build:
1010
runs-on: ubuntu-latest
11+
permissions:
12+
contents: write
1113

1214
steps:
1315
- uses: actions/checkout@v3
@@ -39,5 +41,4 @@ jobs:
3941
uses: ncipollo/release-action@v1
4042
with:
4143
artifacts: "target/*.jar"
42-
artifactContentType: application/jar
43-
token: ${{ secrets.GITHUB_TOKEN }}
44+
artifactContentType: application/jar

0 commit comments

Comments
 (0)