Skip to content

Base main #225

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Closed
wants to merge 9 commits into from
Closed
Show file tree
Hide file tree
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
30 changes: 30 additions & 0 deletions .github/workflows/sync-upstream.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,30 @@
name: Sync Upstream
on:
schedule:
- cron: '0 0 * * *' # Daily sync
workflow_dispatch:

permissions:
contents: write # Required for pushing changes

jobs:
sync:
runs-on: ubuntu-latest
steps:
- name: Checkout
uses: actions/checkout@v4
with:
fetch-depth: 0 # Get full history

- name: Configure git
run: |
git config user.name "StrandForge Bot"
git config user.email "[email protected]"
git remote add upstream https://github.com/strands-agents/sdk-python.git

- name: Sync upstream
run: |
git fetch upstream
git checkout base-main
git merge upstream/main --no-edit
git push origin base-main
43 changes: 43 additions & 0 deletions branching-workflow.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,43 @@
```mermaid
graph TD
%% External Repositories
upstream_main[Strands Agents upstream-main]
dify[Dify]
smolagents[Smolagents]

%% StrandForge Branches
base_main[base-main]
develop[develop]
feature_visual_builder[feature/visual-builder]
feature_k8s_operator[feature/k8s-operator]
feature_mcp_enhancements[feature/mcp-enhancements]
release_v1[release/v1.0.0]
hotfix_urgent_bug[hotfix/urgent-bug]

%% Upstream sync and feature integration
upstream_main -->|Daily Sync| base_main
base_main -->|Create Feature Branch| develop
dify -->|Frontend Integration| feature_visual_builder
smolagents -->|Feature Integration| feature_k8s_operator

%% Feature branches from develop
develop --> feature_visual_builder
develop --> feature_k8s_operator
develop --> feature_mcp_enhancements

%% Merge features to develop
feature_visual_builder -->|PR Merge| develop
feature_k8s_operator -->|PR Merge| develop
feature_mcp_enhancements -->|PR Merge| develop

%% Release flow
base_main -->|Cut Release| release_v1
develop -->|Merge Features| release_v1
release_v1 -->|Test & Tag| v1.0.0
release_v1 -->|Final Merge| base_main

%% Hotfix flow
v1.0.0 -->|Discover Bug| hotfix_urgent_bug
hotfix_urgent_bug -->|PR Merge| base_main
hotfix_urgent_bug -->|Cherry-pick| develop
```