mirror of
https://github.com/MHSanaei/3x-ui.git
synced 2026-06-28 00:24:19 +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:
@@ -15,6 +15,9 @@ on:
|
||||
- "deploy/**"
|
||||
- ".github/workflows/smoke.yml"
|
||||
|
||||
permissions:
|
||||
contents: read
|
||||
|
||||
jobs:
|
||||
noninteractive-install:
|
||||
strategy:
|
||||
|
||||
Reference in New Issue
Block a user