Skip to content

Commit 26f1e1c

Browse files
solderzzcAegis AI Assistant
andauthored
ci: use PAT for upstream sync to fix workflow modification rejection (#6)
Co-authored-by: Aegis AI Assistant <simba@aegis-ai.dev>
1 parent 4e50ba7 commit 26f1e1c

1 file changed

Lines changed: 2 additions & 1 deletion

File tree

.github/workflows/upstream-sync.yml

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -17,6 +17,7 @@ jobs:
1717
uses: actions/checkout@v4
1818
with:
1919
fetch-depth: 0
20+
token: ${{ secrets.SWIFTLM_PR_TOKEN }}
2021

2122
- name: Configure Git
2223
run: |
@@ -37,7 +38,7 @@ jobs:
3738
3839
- name: Create Pull Request to Main
3940
env:
40-
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
41+
GITHUB_TOKEN: ${{ secrets.SWIFTLM_PR_TOKEN }}
4142
run: |
4243
gh pr create --base main --head sync/upstream-latest \
4344
--title "🔄 Auto-Sync: Apple Upstream Repository" \

0 commit comments

Comments
 (0)