--- a/.github/workflows/nodes-only-update.yml +++ b/.github/workflows/nodes-only-update.yml @@ -77,7 +77,7 @@ steps: -# - name: Skip if pull request is in Draft + - name: Skip if pull request is in Draft # `if: github.event.pull_request.draft == true` should be kept here, at # the step level, rather than at the job level. The latter is not # recommended because when the PR is moved from "Draft" to "Ready to @@ -92,8 +92,8 @@ # 4. Move it to "Ready for review"; now the workflow is passing (it was # skipped) and "Check reviews" is also passing (it won't be updated # until the workflow is finished) -# if: github.event.pull_request.draft == true -# run: exit 1 + if: github.event.pull_request.draft == true + run: exit 1 - name: Clean Workspace uses: AutoModality/action-clean@v1.1.0