Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
9 changes: 8 additions & 1 deletion .github/workflows/upstream-sync.yml
Original file line number Diff line number Diff line change
Expand Up @@ -60,7 +60,14 @@ jobs:

- name: Create Pull Request to Main
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
# Bare GITHUB_TOKEN fails here with "Resource not accessible by
# integration (createPullRequest)" — confirmed by a real
# workflow_dispatch run after the push-rejection bug above was fixed
# and verified working. The sibling mlx-swift/upstream-sync.yml
# already falls back to SWIFTLM_PR_TOKEN for this exact step (it's
# configured on both repos) and has created PRs successfully on
# every run; this applies the same fallback here.
GH_TOKEN: ${{ secrets.SWIFTLM_PR_TOKEN || secrets.GITHUB_TOKEN }}
run: |
gh pr create --base main --head sync/upstream-latest \
--title "🔄 Auto-Sync: Apple Upstream Repository" \
Expand Down
Loading