We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 471ecb2 commit 005685eCopy full SHA for 005685e
.github/workflows/publish-nuget.yml
@@ -25,6 +25,8 @@ on:
25
jobs:
26
build:
27
runs-on: ubuntu-latest
28
+ permissions:
29
+ contents: read
30
31
steps:
32
- uses: actions/checkout@v4
@@ -67,6 +69,8 @@ jobs:
67
69
68
70
# Only publish on version tags or manual trigger with version
71
if: startsWith(github.ref, 'refs/tags/v') || (github.event_name == 'workflow_dispatch' && github.event.inputs.version != '')
72
73
+ contents: write
74
75
76
- name: Download artifacts
@@ -87,6 +91,4 @@ jobs:
87
91
uses: softprops/action-gh-release@v2
88
92
with:
89
93
files: ./artifacts/*.nupkg
90
- generate_release_notes: true
- env:
- GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
94
+ generate_release_notes: true
0 commit comments