From d139bbe83df73170c2fb1662ad426b73ab9cf526 Mon Sep 17 00:00:00 2001 From: Salomon Popp Date: Thu, 28 Sep 2023 15:46:12 +0200 Subject: [PATCH 1/3] Remove reference to missing changelog config --- .github/workflows/_release.yaml | 2 -- 1 file changed, 2 deletions(-) diff --git a/.github/workflows/_release.yaml b/.github/workflows/_release.yaml index ff372912f..0176795e5 100644 --- a/.github/workflows/_release.yaml +++ b/.github/workflows/_release.yaml @@ -19,8 +19,6 @@ jobs: uses: bakdata/ci-templates/.github/workflows/bump-version-release.yaml@v1.24.0 with: release-type: "${{ github.event.inputs.release-type }}" - changelog: true - changelog-config: "./.github/changelog-config.json" secrets: github-username: "${{ secrets.GH_USERNAME }}" github-email: "${{ secrets.GH_EMAIL }}" From fb0e447fe1048d77313a6ca6e103533e6270a408 Mon Sep 17 00:00:00 2001 From: Salomon Popp Date: Thu, 28 Sep 2023 15:49:42 +0200 Subject: [PATCH 2/3] Abort if changelog config file doesn't exist --- actions/changelog-generate/action.yaml | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/actions/changelog-generate/action.yaml b/actions/changelog-generate/action.yaml index 54fcfa27e..c614f6eaf 100644 --- a/actions/changelog-generate/action.yaml +++ b/actions/changelog-generate/action.yaml @@ -79,6 +79,10 @@ runs: else path=${{ inputs.config }} fi + if [ ! -f "$path" ]; then + echo "changelog config file $path doesn't exist" + exit 1 + fi echo "path=$path" >> "$GITHUB_OUTPUT" shell: bash From 45d39210085b907d2b319ce18fabac5f2eaa5265 Mon Sep 17 00:00:00 2001 From: Salomon Popp Date: Thu, 28 Sep 2023 16:33:15 +0200 Subject: [PATCH 3/3] Update release workflow --- .github/workflows/_release.yaml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/workflows/_release.yaml b/.github/workflows/_release.yaml index 0176795e5..5baac1078 100644 --- a/.github/workflows/_release.yaml +++ b/.github/workflows/_release.yaml @@ -16,7 +16,7 @@ on: jobs: release: name: Release - uses: bakdata/ci-templates/.github/workflows/bump-version-release.yaml@v1.24.0 + uses: bakdata/ci-templates/.github/workflows/bump-version-release.yaml@1.35.1 with: release-type: "${{ github.event.inputs.release-type }}" secrets: