From 13331a43218cec71afbe72b2d87ef37f780c094b Mon Sep 17 00:00:00 2001 From: Jon C Date: Thu, 31 Jul 2025 16:09:37 +0200 Subject: [PATCH 1/2] CI: Update git-cliff action to v4 #### Problem The v3 git-cliff action is very out of date, but still being used by this repo. #### Summary of changes Bump the git-cliff action version to v4. --- .github/workflows/publish-rust.yml | 7 ++----- 1 file changed, 2 insertions(+), 5 deletions(-) diff --git a/.github/workflows/publish-rust.yml b/.github/workflows/publish-rust.yml index fbe4f69f..a5a60cba 100644 --- a/.github/workflows/publish-rust.yml +++ b/.github/workflows/publish-rust.yml @@ -165,13 +165,10 @@ jobs: - name: Generate a changelog if: github.event.inputs.create_release == 'true' - uses: orhun/git-cliff-action@v3 + uses: orhun/git-cliff-action@v4 with: config: "scripts/cliff.toml" - args: | - "${{ steps.publish.outputs.old_git_tag }}"..main - --include-path "${{ inputs.package_path }}/**" - --github-repo "${{ github.repository }}" + args: "${{ steps.publish.outputs.old_git_tag }}"..main --include-path "${{ inputs.package_path }}/**" --github-repo "${{ github.repository }}" env: OUTPUT: TEMP_CHANGELOG.md GITHUB_REPO: ${{ github.repository }} From bfd13f39394e1e3935f94517bad9bc6a5d003f70 Mon Sep 17 00:00:00 2001 From: Jon C Date: Thu, 31 Jul 2025 16:14:07 +0200 Subject: [PATCH 2/2] Fixup yaml --- .github/workflows/publish-rust.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/workflows/publish-rust.yml b/.github/workflows/publish-rust.yml index a5a60cba..a5519492 100644 --- a/.github/workflows/publish-rust.yml +++ b/.github/workflows/publish-rust.yml @@ -168,7 +168,7 @@ jobs: uses: orhun/git-cliff-action@v4 with: config: "scripts/cliff.toml" - args: "${{ steps.publish.outputs.old_git_tag }}"..main --include-path "${{ inputs.package_path }}/**" --github-repo "${{ github.repository }}" + args: ${{ steps.publish.outputs.old_git_tag }}..HEAD --include-path "${{ inputs.package_path }}/**" --github-repo ${{ github.repository }} env: OUTPUT: TEMP_CHANGELOG.md GITHUB_REPO: ${{ github.repository }}