Skip to content

Commit

Permalink
Fix permissions for doc publishing. (#332)
Browse files Browse the repository at this point in the history
* Fix permissions for doc publishing.

* Test release (without doing a release).

* Revert testing changes.
  • Loading branch information
ivanklee86 authored Nov 20, 2024
1 parent bf41c6e commit 6dfcec2
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 0 deletions.
2 changes: 2 additions & 0 deletions .github/workflows/release-docs.yml
Original file line number Diff line number Diff line change
Expand Up @@ -7,6 +7,8 @@ on:
jobs:
Build:
runs-on: ubuntu-latest
permissions:
contents: write
steps:
- uses: actions/checkout@v4
- name: Set up Python 3.10
Expand Down
1 change: 1 addition & 0 deletions .github/workflows/release-package.yml
Original file line number Diff line number Diff line change
Expand Up @@ -9,6 +9,7 @@ jobs:
runs-on: ubuntu-latest
permissions:
id-token: write
contents: write
environment: pypi
steps:
- uses: actions/checkout@v4
Expand Down

0 comments on commit 6dfcec2

Please sign in to comment.