Skip to content

fix: use ADMIN_PAT for CI auto-update workflows#53

Merged
dongjiang1989 merged 1 commit into
mainfrom
fix-auto-update
Jul 14, 2026
Merged

fix: use ADMIN_PAT for CI auto-update workflows#53
dongjiang1989 merged 1 commit into
mainfrom
fix-auto-update

Conversation

@dongjiang1989

@dongjiang1989 dongjiang1989 commented Jul 14, 2026

Copy link
Copy Markdown
Contributor

Summary

Scheduled CI workflows (Update Project Stats, Update Contributors) were failing with GH013 because GITHUB_TOKEN cannot bypass the Protect default branch ruleset.

Changes

  • Replaced secrets.GITHUB_TOKEN with secrets.ADMIN_PAT in both workflow files
  • ADMIN_PAT belongs to a repo admin added to the ruleset bypass list

Prerequisites

  • ADMIN_PAT secret created in repo settings

Test plan

  • Manually trigger Update Project Stats workflow - verify push succeeds
  • Manually trigger Update Contributors workflow - verify push succeeds
  • Wait for next scheduled run to confirm both run automatically

…ection

The scheduled workflows (Update Project Stats, Update Contributors) were failing
with GH013 because GITHUB_TOKEN cannot bypass the "Protect default branch" ruleset.
Switch to ADMIN_PAT secret which belongs to a repo admin added to the bypass list.

Signed-off-by: dongjiang <dongjiang1989@126.com>
@vercel

vercel Bot commented Jul 14, 2026

Copy link
Copy Markdown
Contributor

The latest updates on your projects. Learn more about Vercel for GitHub.

Project Deployment Actions Updated (UTC)
website Ready Ready Preview, Comment Jul 14, 2026 8:20am

@dongjiang1989
dongjiang1989 merged commit 0601fab into main Jul 14, 2026
11 checks passed
@dongjiang1989
dongjiang1989 deleted the fix-auto-update branch July 14, 2026 12:39
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant