Skip to content

Commit

Permalink
Only run changelog request when status is not draft (#1078)
Browse files Browse the repository at this point in the history
Co-authored-by: Paul Adkisson <[email protected]>
  • Loading branch information
h-mayorquin and pauladkisson authored Sep 13, 2024
1 parent 96c8ed4 commit 113527f
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion .github/workflows/deploy-tests.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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:

Expand All @@ -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:
Expand Down

0 comments on commit 113527f

Please sign in to comment.