Skip to content

Commit e1e23f3

Browse files
authored
CI: Fix git-cliff action (#29)
#### Problem The git-cliff step is failing in CI because the args aren't being passed in properly, due to a breaking change between v3 and v4 of the action. #### Summary of changes Do the same thing as the sdk, and pass the args properly.
1 parent b43635c commit e1e23f3

1 file changed

Lines changed: 1 addition & 4 deletions

File tree

.github/workflows/publish-rust.yml

Lines changed: 1 addition & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -169,10 +169,7 @@ jobs:
169169
uses: orhun/git-cliff-action@v4
170170
with:
171171
config: "scripts/cliff.toml"
172-
args: |
173-
"${{ steps.publish.outputs.old_git_tag }}"..main
174-
--include-path "${{ inputs.package_path }}/**"
175-
--github-repo "${{ github.repository }}"
172+
args: ${{ steps.publish.outputs.old_git_tag }}..HEAD --include-path "${{ inputs.package_path }}/**" --github-repo ${{ github.repository }}
176173
env:
177174
OUTPUT: TEMP_CHANGELOG.md
178175
GITHUB_REPO: ${{ github.repository }}

0 commit comments

Comments
 (0)