Skip to content

Commit c30520e

Browse files
CSResselnori-agent
andcommitted
fix(ci): target fork repo explicitly in upstream-sync PR creation
Without --repo flag, gh inferred upstream repo from branch origin, causing PR creation to fail with permission errors. 🤖 Generated with [Nori](https://nori.ai) Co-Authored-By: Nori <noreply@tilework.tech>
1 parent 1280149 commit c30520e

1 file changed

Lines changed: 1 addition & 0 deletions

File tree

.github/workflows/upstream-sync.yml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -258,6 +258,7 @@ jobs:
258258
echo "$pr_body"
259259
else
260260
gh pr create \
261+
--repo "${{ github.repository }}" \
261262
--base dev \
262263
--head "$SYNC_BRANCH" \
263264
--title "$pr_title" \

0 commit comments

Comments
 (0)