Skip to content

Commit

Permalink
ci: fix Github actions permissions for documentation branches (#5387) (
Browse files Browse the repository at this point in the history
…#5390)

* ci: fix Github actions permissions for documentation branches

* ci: add contents:write permissions

(cherry picked from commit d9bb8d9)
  • Loading branch information
mattdibi committed Jan 17, 2025
1 parent df67eda commit d250684
Show file tree
Hide file tree
Showing 2 changed files with 9 additions and 0 deletions.
4 changes: 4 additions & 0 deletions .github/workflows/backport.yml
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,10 @@ on:
- closed
- labeled

permissions:
contents: write
pull-requests: write

jobs:
backport:
name: Backport
Expand Down
5 changes: 5 additions & 0 deletions .github/workflows/deploy_docs.yml
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,11 @@ on:
branches:
- 'docs-develop'
- 'docs-release-*.*'

permissions:
contents: write
pages: write

jobs:
deploy-docs:
runs-on: ubuntu-latest
Expand Down

0 comments on commit d250684

Please sign in to comment.