diff --git a/.github/workflows/docs.yml b/.github/workflows/docs.yml index 09740c4c9d..e96be656f6 100644 --- a/.github/workflows/docs.yml +++ b/.github/workflows/docs.yml @@ -35,13 +35,15 @@ jobs: with: src: docs/src/python - build: + build-deploy: needs: [ lint, markdown-link-check, ] runs-on: ubuntu-latest + permissions: + contents: write steps: - uses: actions/checkout@v3 diff --git a/.github/workflows/python_release.yml b/.github/workflows/python_release.yml index 5dffdd651c..6bd0bacd84 100644 --- a/.github/workflows/python_release.yml +++ b/.github/workflows/python_release.yml @@ -128,8 +128,6 @@ jobs: release-pypi-windows, ] runs-on: ubuntu-latest - permissions: - contents: write steps: - name: Trigger the docs release event uses: peter-evans/repository-dispatch@v2