Original PR: https://github.com/open-webui/open-webui/pull/21688 Author: @Rohan5commit Created: 2/21/2026 Status: ❌ Closed
Base: main ← Head: ci/explicit-workflow-token-permissions
main
ci/explicit-workflow-token-permissions
3b76e95
4 files changed (+10 additions, -0 deletions)
📝 .github/workflows/deploy-to-hf-spaces.yml (+3 -0) 📝 .github/workflows/format-backend.yaml (+3 -0) 📝 .github/workflows/format-build-frontend.yaml (+3 -0) 📝 .github/workflows/release-pypi.yml (+1 -0)
.github/workflows/deploy-to-hf-spaces.yml
.github/workflows/format-backend.yaml
.github/workflows/format-build-frontend.yaml
.github/workflows/release-pypi.yml
permissions: contents: read
contents: read
id-token: write
🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.
No dependencies set.
The note is not visible to the blocked user.
📋 Pull Request Information
Original PR: https://github.com/open-webui/open-webui/pull/21688
Author: @Rohan5commit
Created: 2/21/2026
Status: ❌ Closed
Base:
main← Head:ci/explicit-workflow-token-permissions📝 Commits (1)
3b76e95ci: declare explicit least-privilege workflow token permissions📊 Changes
4 files changed (+10 additions, -0 deletions)
View changed files
📝
.github/workflows/deploy-to-hf-spaces.yml(+3 -0)📝
.github/workflows/format-backend.yaml(+3 -0)📝
.github/workflows/format-build-frontend.yaml(+3 -0)📝
.github/workflows/release-pypi.yml(+1 -0)📄 Description
Summary\n- add explicit top-level
permissions: contents: readto deploy and CI formatting workflows\n- addcontents: readto the PyPI release job permissions alongside existingid-token: write\n\n## Why\nThese workflows currently rely on implicit/default token scopes in places. Explicitly declaring the minimum required permissions improves security posture and makes workflow intent clear.\n\n## Changed files\n-.github/workflows/deploy-to-hf-spaces.yml\n-.github/workflows/format-backend.yaml\n-.github/workflows/format-build-frontend.yaml\n-.github/workflows/release-pypi.yml\n\n## Notes\n- configuration-only change; no build/test logic modified\n🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.