From 4c80bfc3feee1e1853009ba17f17efe64d0b3a53 Mon Sep 17 00:00:00 2001 From: Salomon Popp Date: Thu, 28 Sep 2023 16:30:13 +0200 Subject: [PATCH] Remove reference to missing changelog config (#149) --- .github/workflows/_release.yaml | 2 -- actions/changelog-generate/action.yaml | 4 ++++ 2 files changed, 4 insertions(+), 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 }}" 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