Skip to content

Commit 69469c9

Browse files
give least permissible privileges (#942)
1 parent c5afb2d commit 69469c9

2 files changed

Lines changed: 2 additions & 2 deletions

File tree

.github/workflows/non-release.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,7 @@ jobs:
1010
mode: snapshot
1111
secrets: inherit
1212
permissions:
13-
contents: write
13+
contents: read
1414
packages: write
1515
id-token: write
1616

.github/workflows/release.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,7 @@ jobs:
1313
build:
1414
uses: ./.github/workflows/build.yaml
1515
permissions:
16-
contents: write
16+
contents: read
1717
id-token: write
1818
packages: write
1919
with:

0 commit comments

Comments
 (0)