Chore: narrow/specify some workflow permissions (#7051)
Docker CI / Docker Build & Push (push) Has been cancelled
Lint / Linting Checks (push) Has been cancelled
Tests / vitest (4) (push) Has been cancelled
Release Drafter / Update Release Draft (push) Has been cancelled
Release Drafter / Auto Label PR (push) Has been cancelled
Tests / vitest (1) (push) Has been cancelled
Tests / vitest (2) (push) Has been cancelled
Tests / vitest (3) (push) Has been cancelled

This commit is contained in:
shamoon
2026-08-23 16:51:28 -07:00
committed by GitHub
parent f2dc80e39e
commit bd39fb48b9
9 changed files with 35 additions and 12 deletions
+4 -2
View File
@@ -10,8 +10,6 @@ on:
permissions:
contents: read
pages: write
id-token: write
jobs:
@@ -33,6 +31,10 @@ jobs:
name: Build & Deploy Docs
if: github.repository == 'gethomepage/homepage' && github.event_name != 'pull_request' && github.ref == 'refs/heads/main'
runs-on: ubuntu-latest
permissions:
contents: read
pages: write
id-token: write
environment:
name: github-pages
url: ${{ steps.deployment.outputs.page_url }}