1
0
mirror of https://github.com/lancedikson/bowser synced 2026-09-23 12:34:58 +00:00

ci: restrict the pull-request workflow GITHUB_TOKEN to contents: read

This commit is contained in:
naorpeled
2026-08-29 23:50:17 +03:00
parent 434016a1f9
commit 876f2b81ca

View File

@@ -3,6 +3,11 @@ on:
pull_request:
types: [opened, reopened, synchronize]
# Every job only reads the repo and moves artifacts between jobs; none of them
# needs write access to anything.
permissions:
contents: read
env:
# tsdown requires Node ^22.18.0 || >=24.11.0. This is the *build* toolchain
# only — see the `pack-smoke` job for the versions the published package