Skip to content
This repository was archived by the owner on Sep 2, 2026. It is now read-only.

ci(sync): pin the hotspot issue to the fork repo - #165

Merged
64ix merged 1 commit into
fork-mainfrom
fix/upstream-sync-workflows-permission
Aug 21, 2026
Merged

ci(sync): pin the hotspot issue to the fork repo#165
64ix merged 1 commit into
fork-mainfrom
fix/upstream-sync-workflows-permission

Conversation

@64ix

@64ix 64ix commented Aug 21, 2026

Copy link
Copy Markdown
Owner

Description

Third and last piece of the upstream-sync repair. The sync's ff+push now works (verified by dispatch), but the final step — opening the Upstream touched fork hotspots issue — failed with GraphQL: Resource not accessible by integration (createIssue).

Cause: gh run inside a fork checkout resolves to the parent repository by default. The step was trying to create the issue on generalaction/emdash with a token scoped to 64ix/emdash. Same failure class as the PR generalaction#2976 incident in AGENTS.md, this time for issues.

Fix: set GH_REPO: ${{ github.repository }} on the step so every gh call targets the fork.

Related issues

Follow-up to #164 (sync push auth) and #163 (superseded).

Testing

Checklist
  • I kept this PR small and focused
  • I ran a self-review before opening this PR
  • I ran the relevant local checks or explained why not
  • I updated docs when behavior or setup changed
  • I added or updated tests when behavior changed, or explained why not
  • I only added comments where the logic is not obvious
  • I used Conventional Commits for commit messages and, when possible, the PR title

gh resolves to the parent repository by default when run in a fork
checkout, so createIssue targeted generalaction/emdash with a token
scoped to 64ix/emdash and failed with "Resource not accessible by
integration". Set GH_REPO from github.repository so the hotspot issue
lands on the fork.
@64ix
64ix merged commit 03de61e into fork-main Aug 21, 2026
1 check passed
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant