From 3ae123f2b54301e3baebfb3f225f855adcec6cc0 Mon Sep 17 00:00:00 2001 From: Ramon Roche Date: Tue, 28 Apr 2026 15:35:07 -0600 Subject: [PATCH] fix(ci): set GH_REPO so labeler works without checkout The auto-label step in pull_request_target runs without a repo checkout, so gh pr view/edit fail with 'not a git repository'. Setting GH_REPO points gh at the right repo without needing a checkout step. Signed-off-by: Ramon Roche --- .github/workflows/label.yml | 1 + 1 file changed, 1 insertion(+) diff --git a/.github/workflows/label.yml b/.github/workflows/label.yml index 99ad42f253b..f9341d8ca8c 100644 --- a/.github/workflows/label.yml +++ b/.github/workflows/label.yml @@ -22,6 +22,7 @@ jobs: - name: Label PR title type env: GH_TOKEN: ${{ github.token }} + GH_REPO: ${{ github.repository }} PR_NUMBER: ${{ github.event.pull_request.number }} PR_TITLE: ${{ github.event.pull_request.title }} run: |