From 85bfdb2be36f845c02a3d3b1de0b1133e5d4fc1e Mon Sep 17 00:00:00 2001 From: fallenbagel <98979876+fallenbagel@users.noreply.github.com> Date: Thu, 16 Apr 2026 04:29:35 +0800 Subject: [PATCH] ci(create-tag): add gh token to avoid api rate limit in tag version retrieval (#2886) --- .github/workflows/create-tag.yml | 3 +++ 1 file changed, 3 insertions(+) diff --git a/.github/workflows/create-tag.yml b/.github/workflows/create-tag.yml index 74636b69e..0c74dd543 100644 --- a/.github/workflows/create-tag.yml +++ b/.github/workflows/create-tag.yml @@ -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}"