From 12d1457a18dd048fdbdc88e99e5f7e71e6900062 Mon Sep 17 00:00:00 2001 From: Sunrisepeak Date: Sun, 22 Nov 2026 20:30:26 +0900 Subject: [PATCH] ci: the release gate verifies the upstream tag with the job's token, as ci.yml does check_release.py runs import_upstream.py --verify-tag, which reads the GitHub API with GITHUB_TOKEN when it is set. release.yml did not set it, so the call shared the runner's per-address quota and mwrap-b10069.2's release was refused twice with "HTTP Error 403: rate limit exceeded". --- .github/workflows/release.yml | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/.github/workflows/release.yml b/.github/workflows/release.yml index 44c3bd5..4913a85 100644 --- a/.github/workflows/release.yml +++ b/.github/workflows/release.yml @@ -24,6 +24,11 @@ jobs: - name: Run complete unit suite run: python3 -m unittest discover -s tests/unit -p 'test_*.py' -v - name: Verify immutable upstream release mapping + # It verifies the upstream tag through the GitHub API, as ci.yml does: with + # the job's token, not the runner's shared per-address quota (mwrap-b10069.2 + # was refused twice with "HTTP Error 403: rate limit exceeded"). + env: + GITHUB_TOKEN: ${{ github.token }} run: python3 tools/check_release.py --tag "$GITHUB_REF_NAME" - name: Require latest successful source CI env: