Skip to content

Commit 1f8bba5

Browse files
Agent Communication MCP Serverclaude
andcommitted
refactor: update all workflow references from develop to test branch
- Update GitHub Actions workflows to use test branch - Update package.json scripts for test branch promotion - Update CONTRIBUTING.md documentation to reflect test→main workflow - Simplify branch naming convention for clarity 🤖 Generated with [Claude Code](https://claude.ai/code) Co-Authored-By: Claude <noreply@anthropic.com>
1 parent dc946e1 commit 1f8bba5

File tree

6 files changed

+21
-21
lines changed

6 files changed

+21
-21
lines changed

.github/workflows/comprehensive-testing.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -5,9 +5,9 @@ name: Comprehensive Testing
55

66
on:
77
push:
8-
branches: [ main, develop ]
8+
branches: [ main, test ]
99
pull_request:
10-
branches: [ main, develop ]
10+
branches: [ main, test ]
1111

1212
jobs:
1313
# Layer 1: Quick validation - fails fast on basic issues

.github/workflows/pr-validation.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@ name: PR Validation
66
on:
77
pull_request:
88
types: [opened, edited, synchronize, reopened]
9-
branches: [ main, develop ]
9+
branches: [ main, test ]
1010

1111
permissions:
1212
pull-requests: write

.github/workflows/promote.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -29,7 +29,7 @@ permissions:
2929
issues: write
3030

3131
env:
32-
SOURCE_BRANCH: develop
32+
SOURCE_BRANCH: test
3333
TARGET_BRANCH: main
3434

3535
jobs:

.github/workflows/test-validation.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -5,9 +5,9 @@ name: Test Branch Validation
55

66
on:
77
push:
8-
branches: [ develop ]
8+
branches: [ test ]
99
pull_request:
10-
branches: [ develop ]
10+
branches: [ test ]
1111

1212
# Manual trigger for validation
1313
workflow_dispatch:

CONTRIBUTING.md

Lines changed: 13 additions & 13 deletions
Original file line numberDiff line numberDiff line change
@@ -212,15 +212,15 @@ All PRs automatically run:
212212

213213
### Branch Strategy
214214

215-
We use a **develop→main** branch strategy with automated versioning:
215+
We use a **test→main** branch strategy with automated versioning:
216216

217-
- **`develop` branch** - Integration branch for new features
217+
- **`test` branch** - Integration branch for new features
218218
- **`main` branch** - Stable release branch with automated versioning
219-
- **Feature branches** - Created from `develop` for individual features
219+
- **Feature branches** - Created from `test` for individual features
220220

221221
#### Workflow Overview
222222
```
223-
feature/* → develop (via PR) → main (automated promotion) → npm release
223+
feature/* → test (via PR) → main (automated promotion) → npm release
224224
```
225225

226226
### Local Development
@@ -240,10 +240,10 @@ npm run ci
240240

241241
### Feature Development Process
242242

243-
1. **Create feature branch from develop**:
243+
1. **Create feature branch from test**:
244244
```bash
245-
git checkout develop
246-
git pull origin develop
245+
git checkout test
246+
git pull origin test
247247
git checkout -b feature/your-feature-name
248248
```
249249

@@ -253,14 +253,14 @@ npm run ci
253253
git add .
254254
git commit -m "feat: add new functionality"
255255

256-
# Push and create PR to develop
256+
# Push and create PR to test
257257
git push -u origin feature/your-feature-name
258-
gh pr create --base develop --fill
258+
gh pr create --base test --fill
259259
```
260260

261-
3. **Integration testing**: Once merged to `develop`, comprehensive validation runs
261+
3. **Integration testing**: Once merged to `test`, comprehensive validation runs
262262

263-
4. **Promotion to main**: Weekly automated promotion from `develop` to `main`
263+
4. **Promotion to main**: Weekly automated promotion from `test` to `main`
264264

265265
5. **Automated release**: Merging to `main` triggers:
266266
- Semantic version bump (based on commit types)
@@ -275,10 +275,10 @@ Repository maintainers can trigger manual promotion:
275275

276276
```bash
277277
# Trigger promotion workflow
278-
gh workflow run promote.yml --ref develop
278+
gh workflow run promote.yml --ref test
279279

280280
# Or force promotion even without changes
281-
gh workflow run promote.yml --ref develop -f force_promote=true
281+
gh workflow run promote.yml --ref test -f force_promote=true
282282
```
283283

284284
### GitHub CLI Workflow

package.json

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -43,8 +43,8 @@
4343
"version:major": "node scripts/bump-version.cjs --force-type=major",
4444
"release:dry": "npm run version:bump:dry",
4545
"release:manual": "npm run ci:full && npm run version:bump && git push && git push --tags",
46-
"workflow:promote": "gh workflow run promote.yml --ref develop",
47-
"workflow:promote:force": "gh workflow run promote.yml --ref develop -f force_promote=true",
46+
"workflow:promote": "gh workflow run promote.yml --ref test",
47+
"workflow:promote:force": "gh workflow run promote.yml --ref test -f force_promote=true",
4848
"workflow:release": "gh workflow run release.yml --ref main"
4949
},
5050
"keywords": [

0 commit comments

Comments
 (0)