Skip to content

Commit 6579f2e

Browse files
russellbgithub-advanced-security[bot]
authored andcommitted
[CI] set token permissions for pre-commit CI job (vllm-project#17729)
Co-authored-by: Copilot Autofix powered by AI <62310815+github-advanced-security[bot]@users.noreply.github.com> Signed-off-by: Yuqi Zhang <[email protected]>
1 parent dc191ec commit 6579f2e

File tree

1 file changed

+3
-0
lines changed

1 file changed

+3
-0
lines changed

.github/workflows/pre-commit.yml

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -5,6 +5,9 @@ on:
55
push:
66
branches: [main]
77

8+
permissions:
9+
contents: read
10+
811
jobs:
912
pre-commit:
1013
runs-on: ubuntu-latest

0 commit comments

Comments
 (0)