Skip to content

Commit bb61ee0

Browse files
committed
Use default GITHUB_TOKEN with explicit permissions for publish workflow
1 parent 98c1cb6 commit bb61ee0

File tree

1 file changed

+4
-2
lines changed

1 file changed

+4
-2
lines changed

.github/workflows/publish.yml

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -3,6 +3,10 @@ name: Publish to VS Marketplace
33
on:
44
workflow_dispatch:
55

6+
permissions:
7+
contents: write
8+
actions: read
9+
610
jobs:
711
publish:
812
runs-on: windows-latest
@@ -14,7 +18,6 @@ jobs:
1418
id: download-artifact
1519
uses: dawidd6/action-download-artifact@v6
1620
with:
17-
github_token: ${{secrets.GH_SECRET}}
1821
workflow: release_build_and_deploy.yml
1922
workflow_conclusion: success
2023

@@ -30,7 +33,6 @@ jobs:
3033
artifacts: ./artifact/CodingWithCalvin.OpenInNotepadPlusPlus.vsix
3134
generateReleaseNotes: true
3235
makeLatest: true
33-
token: ${{ secrets.GH_SECRET }}
3436
commit: ${{ steps.artifact_manifest.outputs.sha }}
3537
tag: ${{ steps.artifact_manifest.outputs.version }}
3638

0 commit comments

Comments
 (0)