Skip to content

Commit d04fbf8

Browse files
Spotchiclaude
andcommitted
ci: pin sync PR creation to this repo, not the fork parent
`gh pr create` without --repo resolves the base to the parent repo (bluesky-social/atproto) because this is a fork. The sync App is only installed on eurosky-social/atproto, so creating the PR failed with "Resource not accessible by integration". Pin both gh pr create calls to $GITHUB_REPOSITORY. Co-Authored-By: Claude Opus 4.8 <noreply@anthropic.com>
1 parent 7cabb00 commit d04fbf8

1 file changed

Lines changed: 2 additions & 2 deletions

File tree

.github/workflows/sync-upstream.yaml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -141,7 +141,7 @@ jobs:
141141
Once resolved, mark this PR **Ready for review** to trigger CI.
142142
EOF
143143
)
144-
gh pr create --base main --head "$BRANCH" --title "$TITLE" --body "$BODY" --draft
144+
gh pr create --repo "$GITHUB_REPOSITORY" --base main --head "$BRANCH" --title "$TITLE" --body "$BODY" --draft
145145
else
146146
TITLE="Sync upstream (${UPSTREAM_REF})"
147147
BODY=$(cat <<EOF
@@ -152,5 +152,5 @@ jobs:
152152
Mark this PR **Ready for review** to trigger CI, then merge once it is green.
153153
EOF
154154
)
155-
gh pr create --base main --head "$BRANCH" --title "$TITLE" --body "$BODY" --draft
155+
gh pr create --repo "$GITHUB_REPOSITORY" --base main --head "$BRANCH" --title "$TITLE" --body "$BODY" --draft
156156
fi

0 commit comments

Comments
 (0)