From f3d6b130ffd7eaf158f1df45baf82c162d7a21f6 Mon Sep 17 00:00:00 2001 From: Massimiliano Pippi Date: Fri, 24 May 2024 21:39:15 +0200 Subject: [PATCH] use git-cliff-action directly --- .github/workflows/CI_pypi_release.yml | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/.github/workflows/CI_pypi_release.yml b/.github/workflows/CI_pypi_release.yml index b136b9daa..60115055b 100644 --- a/.github/workflows/CI_pypi_release.yml +++ b/.github/workflows/CI_pypi_release.yml @@ -48,12 +48,14 @@ jobs: run: hatch publish -y - name: Generate changelog - uses: tj-actions/git-cliff@v1 + uses: orhun/git-cliff-action@v3 + env: + OUTPUT: "${{ steps.pathfinder.outputs.project_path }}/CHANGELOG.md" with: + config: cliff.toml args: > --include-path "${{ steps.pathfinder.outputs.project_path }}/*" --tag-pattern "${{ steps.pathfinder.outputs.project_path }}-v*" - -o "${{ steps.pathfinder.outputs.project_path }}/CHANGELOG.md" - name: Commit changelog uses: EndBug/add-and-commit@v9