Skip to content

Commit

Permalink
ci: set permissions when publishing docs (#990)
Browse files Browse the repository at this point in the history
  • Loading branch information
mkniewallner authored Dec 25, 2024
1 parent 7abbeac commit 30eeb09
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions .github/workflows/release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -191,8 +191,6 @@ jobs:
if: ${{ github.event_name == 'release' }}
steps:
- uses: actions/download-artifact@v4
with:
persist-credentials: false

- name: Install Python
uses: actions/setup-python@v5
Expand All @@ -207,9 +205,11 @@ jobs:
command: upload
args: --non-interactive --skip-existing wheels-*/*

check-docs:
publish-docs:
runs-on: ubuntu-24.04
needs: publish
permissions:
contents: write
if: ${{ github.event_name == 'release' }}
steps:
- name: Check out
Expand Down

0 comments on commit 30eeb09

Please sign in to comment.