diff --git a/.github/workflows/sync-main.yml b/.github/workflows/sync-main.yml index 6a9fb9d..a08095c 100644 --- a/.github/workflows/sync-main.yml +++ b/.github/workflows/sync-main.yml @@ -47,9 +47,11 @@ jobs: id: existing env: GH_TOKEN: ${{ secrets.GITHUB_TOKEN }} + REPO: ${{ github.repository }} run: | PR_NUMBER=$(gh pr list \ --base main \ + --repo "$REPO" \ --head "${{ steps.branch.outputs.source }}" \ --state open \ --json number \ @@ -65,6 +67,7 @@ jobs: run: | PR_URL=$(gh pr create \ --base main \ + --repo "$REPO" \ --head "${{ steps.branch.outputs.source }}" \ --title "Weekly sync: ${{ steps.branch.outputs.source }} → main" \ --body "$(cat <