diff --git a/.github/workflows/release-please-beta.yml b/.github/workflows/release-please-beta.yml index 9fc2d7d8..9e1187da 100644 --- a/.github/workflows/release-please-beta.yml +++ b/.github/workflows/release-please-beta.yml @@ -41,6 +41,9 @@ jobs: env: GH_TOKEN: ${{ secrets.GITHUB_TOKEN }} RELEASE_PAT: ${{ secrets.RELEASE_PLEASE_TOKEN }} + # This job has no checkout, so gh can't infer the repo from a git + # remote — set it explicitly (same pattern as whatsnew, 2a5f0a8). + GH_REPO: ${{ github.repository }} run: | if [ -z "$RELEASE_PAT" ]; then echo "RELEASE_PLEASE_TOKEN not set — skipping auto-merge (manual review still required)." diff --git a/.github/workflows/release-please.yml b/.github/workflows/release-please.yml index bf31c797..eb33b723 100644 --- a/.github/workflows/release-please.yml +++ b/.github/workflows/release-please.yml @@ -34,6 +34,9 @@ jobs: env: GH_TOKEN: ${{ secrets.GITHUB_TOKEN }} RELEASE_PAT: ${{ secrets.RELEASE_PLEASE_TOKEN }} + # No checkout in this job — set the repo explicitly so gh works + # without a git remote (same pattern as whatsnew, 2a5f0a8). + GH_REPO: ${{ github.repository }} run: | if [ -z "$RELEASE_PAT" ]; then echo "RELEASE_PLEASE_TOKEN not set — skipping auto-merge (manual review still required)."