mirror of
https://github.com/lancedikson/bowser
synced 2026-10-08 11:52:04 +00:00
ci: restrict the pull-request workflow GITHUB_TOKEN to contents: read
This commit is contained in:
5
.github/workflows/pull-request.yml
vendored
5
.github/workflows/pull-request.yml
vendored
@@ -3,6 +3,11 @@ on:
|
|||||||
pull_request:
|
pull_request:
|
||||||
types: [opened, reopened, synchronize]
|
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:
|
env:
|
||||||
# tsdown requires Node ^22.18.0 || >=24.11.0. This is the *build* toolchain
|
# 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
|
# only — see the `pack-smoke` job for the versions the published package
|
||||||
|
|||||||
Reference in New Issue
Block a user