Skip to content

Commit

Permalink
feat(CI): don't run docs build on draft PRs (#2064)
Browse files Browse the repository at this point in the history
  • Loading branch information
Dr-Electron authored Aug 26, 2024
1 parent 298ea01 commit 84c90f0
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion .github/workflows/hierarchy.yml
Original file line number Diff line number Diff line change
Expand Up @@ -58,7 +58,7 @@ jobs:

docusaurus:
needs: diff
if: always() && needs.diff.outputs.isDoc == 'true'
if: always() && needs.diff.outputs.isDoc == 'true' && github.event.pull_request.draft == false
uses: ./.github/workflows/_docusaurus.yml

docs-lint:
Expand Down

0 comments on commit 84c90f0

Please sign in to comment.