mirror of
https://github.com/open-webui/open-webui.git
synced 2026-12-05 11:07:55 -05:00
ci: limit the token permissions of the frontend build and Docker workflows (#35557)
The frontend build workflow and two jobs in the Docker workflow ran with the repository's default token permissions, which GitHub code scanning flags. They now get read-only access, plus read access to the published images for the job that copies them to Docker Hub. Every job in both workflows now runs with explicitly set permissions.
This commit is contained in:
1 parent
0072c9974c
commit
ae1a952ee4
2 files changed
+8
No files matched your search
@@ -4,6 +4,9 @@
|
||||
# ─────────────────────────────────────────────────────────────────────────────
|
||||
name: Frontend Build
|
||||
|
||||
permissions:
|
||||
contents: read
|
||||
|
||||
on:
|
||||
push:
|
||||
branches: [main, dev]
|
||||
|
||||
Reference in new issue
Block a user