8000 Chenging upstream synx logic · StrandForge/sdk-python@dc3b79e · GitHub
[go: up one dir, main page]

Skip to content

Commit dc3b79e

Browse files
Sugi VenugeethanSugi Venugeethan
authored andcommitted
Chenging upstream synx logic
1 parent ea5485a commit dc3b79e

File tree

1 file changed

+9
-4
lines changed

1 file changed

+9
-4
lines changed

.github/workflows/sync-upstream.yml

Lines changed: 9 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,10 @@ name: Sync Upstream
22
on:
33
schedule:
44
- cron: '0 0 * * *' # Daily sync
5-
workflow_dispatch: # Manual trigger
5+
workflow_dispatch:
6+
7+
permissions:
8+
contents: write # Required for pushing changes
69

710
jobs:
811
sync:
@@ -11,14 +14,16 @@ jobs:
1114
- name: Checkout
1215
uses: actions/checkout@v4
1316
with:
14-
token: ${{ secrets.PAT_TOKEN }} # Required for push access
15-
fetch-depth: 0
17+
fetch-depth: 0 # Get full history
1618

17-
- name: Sync upstream
19+
- name: Configure git
1820
run: |
1921
git config user.name "StrandForge Bot"
2022
git config user.email "bot@strandforge.ai"
2123
git remote add upstream https://github.com/strands-agents/sdk-python.git
24+
25+
- name: Sync upstream
26+
run: |
2227
git fetch upstream
2328
git checkout base-main
2429
git merge upstream/main --no-edit

0 commit comments

Comments
 (0)
0