Skip to content

Commit

Permalink
[GHA] Grant publish_website.yml content write permissions
Browse files Browse the repository at this point in the history
Needed to write to the `docusaurus-versions` branch
  • Loading branch information
CristianLara committed Feb 3, 2025
1 parent 7c7493a commit 82e0a2a
Show file tree
Hide file tree
Showing 3 changed files with 4 additions and 0 deletions.
1 change: 1 addition & 0 deletions .github/workflows/deploy_on_release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -87,3 +87,4 @@ jobs:
permissions:
pages: write
id-token: write
contents: write
1 change: 1 addition & 0 deletions .github/workflows/nightly.yml
Original file line number Diff line number Diff line change
Expand Up @@ -72,6 +72,7 @@ jobs:
permissions:
pages: write
id-token: write
contents: write

run_tutorials:
name: Run tutorials without smoke test on latest PyTorch / GPyTorch / Ax
Expand Down
2 changes: 2 additions & 0 deletions .github/workflows/publish_website.yml
Original file line number Diff line number Diff line change
Expand Up @@ -20,6 +20,8 @@ jobs:
env:
# `uv pip ...` requires venv by default. This skips that requirement.
UV_SYSTEM_PYTHON: 1
permissions:
contents: write
steps:
- uses: actions/checkout@v4
with:
Expand Down

0 comments on commit 82e0a2a

Please sign in to comment.