Background
The dedicated Gitee repair dispatch for v1.0.53-beta.4 failed before making any request to Gitee:
The Gitee release itself has since been synchronized manually with the repository's existing idempotent release scripts. This issue tracks the CI defect so future repairs work without manual intervention.
Root cause
The repair-only Fetch and verify sealed release tag step invokes scripts/release/verify-github-tag-authority.sh, which calls gh, but that step does not provide GH_TOKEN or GITHUB_TOKEN.
Observed failure:
gh: To use GitHub CLI in a GitHub Actions workflow, set the GH_TOKEN environment variable.
Process completed with exit code 4.
This happened before Gitee authentication or upload, so it was not caused by GITEE_TOKEN, GITEE_USER, or GITEE_REPO.
Proposed fix
- Inject
GH_TOKEN: ${{ secrets.GITHUB_TOKEN }} into the repair-only tag verification step.
- Audit the repair path for any other scripts that transitively invoke
gh without an explicit token.
- Add a focused workflow/policy regression check so repair steps using GitHub CLI cannot omit authentication.
Acceptance criteria
Background
The dedicated Gitee repair dispatch for
v1.0.53-beta.4failed before making any request to Gitee:Mirror an existing immutable release to GiteeFetch and verify sealed release tagThe Gitee release itself has since been synchronized manually with the repository's existing idempotent release scripts. This issue tracks the CI defect so future repairs work without manual intervention.
Root cause
The repair-only
Fetch and verify sealed release tagstep invokesscripts/release/verify-github-tag-authority.sh, which callsgh, but that step does not provideGH_TOKENorGITHUB_TOKEN.Observed failure:
This happened before Gitee authentication or upload, so it was not caused by
GITEE_TOKEN,GITEE_USER, orGITEE_REPO.Proposed fix
GH_TOKEN: ${{ secrets.GITHUB_TOKEN }}into the repair-only tag verification step.ghwithout an explicit token.Acceptance criteria
repair_gitee_versiondispatch for an existing immutable prerelease passes tag authority verification.Release delivery gateis green for the repair mode.