ci: harden workflow token permissions#220
Conversation
Set an explicit least-privilege permissions block so the workflow GITHUB_TOKEN is scoped to contents: read instead of inheriting the repository default. Signed-off-by: Arpit Jain <arpitjain099@gmail.com>
|
@arpitjain099 is attempting to deploy a commit to the Svelte Team on Vercel. A member of the Team first needs to authorize it. |
|
|
Consolidating to avoid a duplicate: #213 already declares the same read-only permissions on these workflow(s) (and others), so I'm closing this one in its favor. Apologies for the overlap. |
This narrows the
GITHUB_TOKENfor.github/workflows/check.yml,.github/workflows/lint.yml,.github/workflows/test.ymlto read-only.contents: readcovers them.Behavior is unchanged.