From a87315af609154b900b55d43e955112e132c8707 Mon Sep 17 00:00:00 2001 From: "erik.hauan" Date: Fri, 16 Oct 2026 16:59:27 -0700 Subject: [PATCH] upstream-sync: pin gh to this fork (GH_REPO) The workflow adds an 'upstream' remote for openai/codex; gh then defaults to that repo, so issue/PR commands targeted upstream and failed with "label 'upstream-sync' not found". GH_REPO pins every gh call to the fork. Co-Authored-By: Claude Opus 5.5 Claude-Session: https://claude.ai/code/session_01RPCzgwU247gMtjybR5v4iR --- .github/workflows/upstream-sync.yml | 3 +++ 1 file changed, 3 insertions(+) diff --git a/.github/workflows/upstream-sync.yml b/.github/workflows/upstream-sync.yml index c51db283c905..4a414686a405 100644 --- a/.github/workflows/upstream-sync.yml +++ b/.github/workflows/upstream-sync.yml @@ -41,6 +41,9 @@ jobs: timeout-minutes: 120 env: GH_TOKEN: ${{ secrets.GITHUB_TOKEN }} + # Pin gh to this fork: the `upstream` remote added below would otherwise + # make gh target openai/codex for pr/issue commands. + GH_REPO: ${{ github.repository }} steps: - uses: actions/checkout@v4 with: