diff --git a/.github/workflows/python_sphinx_docs.yml b/.github/workflows/python_sphinx_docs.yml index ea4fdf45d5e..a7011ee0f9d 100644 --- a/.github/workflows/python_sphinx_docs.yml +++ b/.github/workflows/python_sphinx_docs.yml @@ -6,7 +6,8 @@ on: paths: - 'python/**' - '.github/workflows/python_sphinx_docs.yml' - pull_request: + pull_request_target: + types: closed branches: master paths: - 'python/**' @@ -15,6 +16,7 @@ on: types: [docstrings_common_updated] permissions: contents: write + jobs: build: runs-on: ubuntu-latest