Skip to content

Commit 3fd9368

Browse files
authored
ci: set explicit contents read permission in release workflow (#30)
Empty permissions block relies on unauthenticated HTTPS for checkout, which would break if the repo were ever made private.
1 parent 9f34f78 commit 3fd9368

1 file changed

Lines changed: 2 additions & 1 deletion

File tree

.github/workflows/release.yml

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,8 @@ on:
55
types:
66
- published
77

8-
permissions: {}
8+
permissions:
9+
contents: read
910

1011
jobs:
1112
nuget:

0 commit comments

Comments
 (0)