Skip to content

Commit f20762c

Browse files
committed
chore(ci): grant publish permissions
Adds explicit write permissions for contents, packages, id-token, and attestations in the CI workflow. Enables publishing packages and acquiring OIDC tokens/attestations during runs. Prevents permission-related failures when attempting to publish.
1 parent 29062c5 commit f20762c

1 file changed

Lines changed: 6 additions & 0 deletions

File tree

.github/workflows/nuget-publish.yml

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,11 @@
11
name: Publish NuGet packages
22

3+
permissions:
4+
contents: write
5+
packages: write
6+
id-token: write
7+
attestations: write
8+
39
# Controls when the action will run.
410
on:
511
push:

0 commit comments

Comments
 (0)