From 113527f5650e10c7d0a61b10f9f362837f12b117 Mon Sep 17 00:00:00 2001 From: Heberto Mayorquin Date: Fri, 13 Sep 2024 11:21:16 -0600 Subject: [PATCH] Only run changelog request when status is not draft (#1078) Co-authored-by: Paul Adkisson --- .github/workflows/deploy-tests.yml | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/.github/workflows/deploy-tests.yml b/.github/workflows/deploy-tests.yml index 49af30be0..9cbf6ba94 100644 --- a/.github/workflows/deploy-tests.yml +++ b/.github/workflows/deploy-tests.yml @@ -2,6 +2,7 @@ name: Deploy tests on: pull_request: + types: [synchronize, opened, reopened, ready_for_review] # defaults + ready_for_review merge_group: workflow_dispatch: @@ -16,7 +17,7 @@ jobs: detect-changelog-updates: needs: assess-file-changes - if: ${{ needs.assess-file-changes.outputs.SOURCE_CHANGED == 'true' }} + if: ${{ needs.assess-file-changes.outputs.SOURCE_CHANGED == 'true' && github.event.pull_request.draft == false }} name: Auto-detecting CHANGELOG.md updates runs-on: ubuntu-latest steps: