Skip to content

Commit

Permalink
chore(ci): fix perms for docs build
Browse files Browse the repository at this point in the history
  • Loading branch information
lowlydba committed Sep 7, 2024
1 parent b9cc95a commit 79028a1
Show file tree
Hide file tree
Showing 2 changed files with 8 additions and 0 deletions.
4 changes: 4 additions & 0 deletions .github/workflows/docs-pr.yml
Original file line number Diff line number Diff line change
Expand Up @@ -9,6 +9,10 @@ on:
env:
GHP_BASE_URL: https://${{ github.repository_owner }}.github.io/${{ github.event.repository.name }}

permissions:
pages: write
id-token: write

jobs:
validate-docs:
permissions:
Expand Down
4 changes: 4 additions & 0 deletions .github/workflows/docs-push.yml
Original file line number Diff line number Diff line change
Expand Up @@ -11,6 +11,10 @@ on:
schedule:
- cron: '0 13 * * *'

permissions:
pages: write
id-token: write

jobs:
build-docs:
permissions:
Expand Down

0 comments on commit 79028a1

Please sign in to comment.