Skip to content

Commit

Permalink
Only trigger the rebuild of the documentation when a PR gets merged, …
Browse files Browse the repository at this point in the history
…not for any open PR
  • Loading branch information
lisajulia committed Jul 8, 2024
1 parent c111282 commit 29e6506
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion .github/workflows/python_sphinx_docs.yml
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,8 @@ on:
paths:
- 'python/**'
- '.github/workflows/python_sphinx_docs.yml'
pull_request:
pull_request_target:
types: closed
branches: master
paths:
- 'python/**'
Expand All @@ -15,6 +16,7 @@ on:
types: [docstrings_common_updated]
permissions:
contents: write

jobs:
build:
runs-on: ubuntu-latest
Expand Down

0 comments on commit 29e6506

Please sign in to comment.