Skip to content

Commit b6fd415

Browse files
committed
use built in token in publish pipeline
1 parent a6498a3 commit b6fd415

File tree

1 file changed

+4
-1
lines changed

1 file changed

+4
-1
lines changed

.github/workflows/artifact-publish.yml

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -11,6 +11,9 @@ on:
1111
jobs:
1212
conflictmonitor-publish:
1313
runs-on: ubuntu-latest
14+
permissions:
15+
contents: read
16+
packages: write
1417

1518
steps:
1619
- name: Checkout code
@@ -45,5 +48,5 @@ jobs:
4548
env:
4649
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
4750
MAVEN_GITHUB_TOKEN_NAME: ${{ vars.MAVEN_GITHUB_TOKEN_NAME }}
48-
MAVEN_GITHUB_TOKEN: ${{ secrets.MAVEN_GITHUB_TOKEN }}
51+
MAVEN_GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
4952
MAVEN_GITHUB_ORG: ${{ github.repository_owner }}

0 commit comments

Comments
 (0)