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})