Skip to content

Commit e86aabf

Browse files
authored
fix: Fix git cliff release workflow (#239)
1 parent e9d8b24 commit e86aabf

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

git-cliff-release/action.yaml

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -58,13 +58,13 @@ runs:
5858
using: composite
5959
steps:
6060
- name: Checkout
61-
uses: actions/checkout@v4
61+
uses: actions/checkout@v6
6262
with:
6363
fetch-depth: 0
6464
path: ${{ github.workspace }}/__release_metadata_repo
6565
- name: Install git-cliff
6666
shell: bash
67-
run: pip install git-cliff
67+
run: pip install 'git-cliff<2.11.0'
6868
- name: Locally remove pre-release tags
6969
shell: bash
7070
working-directory: ${{ github.workspace }}/__release_metadata_repo
@@ -121,7 +121,7 @@ runs:
121121
fi
122122
123123
echo 'release_notes<<EOF' >> $GITHUB_OUTPUT
124-
git-cliff --tag "${{ steps.version_number.outputs.tag_name }}" --unreleased --context |
124+
git-cliff --tag "${{ steps.version_number.outputs.tag_name }}" --unreleased --context |
125125
python enhance_context.py --repo $GITHUB_REPO --release-notes "${enhance_context_args[@]}" |
126126
git-cliff --from-context - --strip all |
127127
tee -a $GITHUB_OUTPUT

0 commit comments

Comments
 (0)