mirror of
https://github.com/MHSanaei/3x-ui.git
synced 2026-08-27 04:08:46 +00:00
ci(smoke): set least-privilege GITHUB_TOKEN permissions
Add a top-level `permissions: contents: read` block so the smoke-test workflow no longer inherits the repository default token permissions. Resolves CodeQL actions/missing-workflow-permissions.
This commit is contained in:
parent
dcb923b4a1
commit
a133282fc3
1 changed files with 3 additions and 0 deletions
3
.github/workflows/smoke.yml
vendored
3
.github/workflows/smoke.yml
vendored
|
|
@ -15,6 +15,9 @@ on:
|
|||
- "deploy/**"
|
||||
- ".github/workflows/smoke.yml"
|
||||
|
||||
permissions:
|
||||
contents: read
|
||||
|
||||
jobs:
|
||||
noninteractive-install:
|
||||
strategy:
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue