From dc10fb5eb5fd4fb66489c8e1848cc67db88581fa Mon Sep 17 00:00:00 2001 From: Tommy Skaug <104122981+tommy-skaug@users.noreply.github.com> Date: Tue, 9 Apr 2024 14:37:06 +0200 Subject: [PATCH] Update build-and-publish.yml --- .github/workflows/build-and-publish.yml | 8 +++++++- 1 file changed, 7 insertions(+), 1 deletion(-) diff --git a/.github/workflows/build-and-publish.yml b/.github/workflows/build-and-publish.yml index 21e9236..acc02da 100644 --- a/.github/workflows/build-and-publish.yml +++ b/.github/workflows/build-and-publish.yml @@ -61,7 +61,14 @@ jobs: if: needs.find-charts-to-release.outputs.modified-charts-files runs-on: ubuntu-latest container: quay.io/git-chglog/git-chglog:0.15.4 + steps: + # https://github.com/git-chglog/git-chglog/issues/23#issuecomment-1716941412 + - name: Generate charts changelog files + shell: bash + run: | + git config --global --add safe.directory "$GITHUB_WORKSPACE" + - name: Checkout uses: actions/checkout@v4 with: @@ -76,7 +83,6 @@ jobs: run: | set -x apk add git grep yq - alias git-tag='git tag' for chart_file in ${{ needs.find-charts-to-release.outputs.modified-charts-files }}; do chart_name=$(grep -Po "(?<=^name: ).+" ${chart_file})