Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

opt: git cliff api limit #2199

Merged
merged 9 commits into from
Feb 24, 2025
10 changes: 7 additions & 3 deletions .github/workflows/Release-all.yml
Original file line number Diff line number Diff line change
Expand Up @@ -168,9 +168,13 @@ jobs:
echo "newTag=v${{ env.version }}-${{ env.versionSuffix }}.${{ steps.shortSHA.outputs.sha_short }}" >> $GITHUB_OUTPUT
- name: Build Changelog
id: build_changelog
run: |
npm install git-cliff -g
git-cliff ${{ steps.changelogTags.outputs.prev_tag }}..HEAD -o changelog.txt
uses: orhun/git-cliff-action@v4
with:
config: cliff.toml
args: ${{ steps.changelogTags.outputs.prev_tag }}..HEAD
env:
OUTPUT: changelog.txt
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
- name: Get changelog.txt
run: |
# HEREDOC must be quoted to avoid Bash substitution
Expand Down
Loading