Skip to content

fix: overlay-promotion-bot 403 — REPO_ACCESS_TOKEN lacks push permission #1031

Closed

Description

@jeonghun-jj-lee

What

The overlay-promotion-bot (workflow) has been failing every 2-hour run since ~Sep 12 04:15 UTC. The sync + commit succeed, but git push --force origin overlay-promotion returns:

remote: Permission to harmoniqs/amicode.git denied to jack-champagne.
fatal: unable to access 'https://github.com/harmoniqs/amicode/': The requested URL returned error: 403

Latest failed run

Why

The REPO_ACCESS_TOKEN secret is a PAT belonging to jack-champagne. The token authenticates correctly (checkout, gh CLI calls work) but lacks push permission to harmoniqs/amicode. Likely cause: the PAT was created as a fine-grained token without contents: write, or it expired and was regenerated without re-authorizing the repo.

Impact

The bot cannot open overlay-promotion PRs. The overlay is currently stale — the fork's local/amicode has moved to 8f0f5d90 (includes the merged Shiki highlighting PR #339) but the overlay still tracks 6fa55b66. This is non-blocking (the extension works fine, the binary is built from the fork directly) but the drift will grow until the bot is fixed.

Fix

Regenerate or re-authorize the PAT so it has push access to harmoniqs/amicode:

Then update the secret:

gh secret set REPO_ACCESS_TOKEN --repo harmoniqs/amicode

Verify with a manual trigger:

gh workflow run overlay-promotion-bot --repo harmoniqs/amicode

Context: PR #1030 fixed the workflow to route this token correctly. The workflow code is fine — this is purely a token permission issue.

Activity

  1. jeonghun-jj-lee commented on Sep 14, 2026

    @jeonghun-jj-lee
    ContributorAuthor

    Fixed in #1030 (dbbb37e3) — overlay-promotion-bot now pushes/opens PRs with REPO_ACCESS_TOKEN; live-tested via manual dispatch (found real drift, opened a PR). Closing now.

  2. jack-champagne commented on Sep 14, 2026

    @jack-champagne
    Member

    Did you add your own? Cause I added mine last night and pinged you. Though I should have had it update this issue.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Labels

No labels
No labels

Type

No type

Projects

No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions