From 2081f070190467ed13be7a6b316d84204ff8d209 Mon Sep 17 00:00:00 2001 From: Colin Rogers <111200756+colin-rogers-dbt@users.noreply.github.com> Date: Wed, 22 Jan 2025 10:40:34 -0800 Subject: [PATCH] Update publish.yml (#613) --- .github/workflows/publish.yml | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/.github/workflows/publish.yml b/.github/workflows/publish.yml index e3b89c924..55f08a9c6 100644 --- a/.github/workflows/publish.yml +++ b/.github/workflows/publish.yml @@ -54,12 +54,15 @@ jobs: generate-changelog: needs: [unit-tests, integration-tests] + if: | + always() && + (needs.integration-tests.result == 'skipped' || needs.integration-tests.result == 'success') && + (needs.unit-tests.result == 'skipped' || needs.unit-tests.result == 'success') uses: ./.github/workflows/_generate-changelog.yml with: package: ${{ inputs.package }} merge: ${{ inputs.deploy-to == 'prod' }} branch: ${{ inputs.branch }} - repository: ${{ github.repository }} secrets: inherit publish-internal: