Skip to content

Commit 16959f5

Browse files
JacobCoffeeclaude
andauthored
ci: fix changelog generation in CD workflow (#114)
Co-authored-by: Claude <[email protected]>
1 parent 3f226c0 commit 16959f5

File tree

1 file changed

+8
-5
lines changed

1 file changed

+8
-5
lines changed

.github/workflows/cd.yml

Lines changed: 8 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -36,12 +36,15 @@ jobs:
3636
- name: Create worktree for changelog
3737
run: git worktree add worktree-changelog origin/main
3838

39-
- name: Generate changelog in worktree
40-
working-directory: worktree-changelog
41-
uses: orhun/git-cliff-action@main
39+
- name: Install git-cliff
40+
uses: taiki-e/install-action@v2
4241
with:
43-
config: pyproject.toml
44-
args: -vv --latest --strip header --output docs/changelog.rst
42+
tool: git-cliff
43+
44+
- name: Generate changelog in worktree
45+
run: |
46+
cd worktree-changelog
47+
git-cliff --config ../pyproject.toml -vv --latest --strip header --output docs/changelog.rst
4548
4649
- name: Commit and push changelog
4750
working-directory: worktree-changelog

0 commit comments

Comments
 (0)