From 0d5364d422ce5ededda42193c589df073704994e Mon Sep 17 00:00:00 2001 From: Nikolay Ulmasov Date: Thu, 16 Nov 2023 09:37:56 +0000 Subject: [PATCH] move permission requirement for docs release to deploy Signed-off-by: Nikolay Ulmasov --- .github/workflows/docs.yml | 4 +++- .github/workflows/python_release.yml | 2 -- 2 files changed, 3 insertions(+), 3 deletions(-) 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