ci(create-tag): add gh token to avoid api rate limit in tag version retrieval (#2886)

This commit is contained in:
fallenbagel
2026-04-16 04:29:35 +08:00
committed by GitHub
parent 66130beded
commit 85bfdb2be3
+3
View File
@@ -35,6 +35,9 @@ jobs:
- name: Get tag version
id: git-cliff
env:
# In order to avoid hitting the GitHub API rate limit
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
run: |
tag_version=$(git-cliff -c .github/cliff.toml --bumped-version --unreleased)
echo "Next tag version is ${tag_version}"