mirror of
https://github.com/lancedikson/bowser
synced 2026-09-23 04:24:54 +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:
|
||||
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
|
||||
|
||||
Reference in New Issue
Block a user