Skip to content

Commit c2fe87c

Browse files
committed
cleanup permissions
- No need to be able to mint an ID-token during the prepare release worfklow - No need for write permissions during the relase, we're not _creating_ a GitHub release in this case
1 parent 293f545 commit c2fe87c

2 files changed

Lines changed: 1 addition & 3 deletions

File tree

.github/workflows/prepare-release.yml

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -227,8 +227,6 @@ jobs:
227227

228228
permissions:
229229
contents: write # for softprops/action-gh-release to create GitHub release
230-
# https://docs.npmjs.com/generating-provenance-statements#publishing-packages-with-provenance-via-github-actions
231-
id-token: write
232230

233231
needs:
234232
- build

.github/workflows/release.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -230,7 +230,7 @@ jobs:
230230
name: Build and publish Tailwind CSS
231231

232232
permissions:
233-
contents: write # for softprops/action-gh-release to create GitHub release
233+
contents: read
234234
# https://docs.npmjs.com/generating-provenance-statements#publishing-packages-with-provenance-via-github-actions
235235
id-token: write
236236

0 commit comments

Comments
 (0)