Skip to content

Commit 3836c7b

Browse files
cemililikclaude
andcommitted
chore: simplify to single-branch workflow (main only)
Removed development branch — unnecessary for solo/small team. Release strategy now based on tag type, not branch: - Pre-release tag (v0.4.0-rc1) → TestPyPI - Stable tag (v0.4.0) → PyPI Changes: - Deleted development branch (remote + local) - CI triggers: main only (was main + development) - CONTRIBUTING: PR target back to main, simplified flow - PR template: removed development branch note - QMS: PR target back to main Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
1 parent a508244 commit 3836c7b

4 files changed

Lines changed: 7 additions & 22 deletions

File tree

.github/pull_request_template.md

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,3 @@
1-
> **Target branch:** Please open PRs against `development`. Only release PRs target `main`.
2-
31
## Summary
42

53
<!-- What does this PR do? One sentence. -->

.github/workflows/ci.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -2,9 +2,9 @@ name: CI
22

33
on:
44
push:
5-
branches: [main, development]
5+
branches: [main]
66
pull_request:
7-
branches: [main, development]
7+
branches: [main]
88

99
jobs:
1010
# --- Job 1: Lint (fast, no heavy deps) ---

CONTRIBUTING.md

Lines changed: 3 additions & 16 deletions
Original file line numberDiff line numberDiff line change
@@ -29,19 +29,12 @@ python3 -m pip install -e ".[dev]"
2929

3030
### 3. Create a branch
3131

32-
Always branch from `development`:
33-
3432
```bash
3533
git fetch upstream
36-
git checkout -b feat/my-feature upstream/development
34+
git checkout -b feat/my-feature upstream/main
3735
```
3836

39-
Branch naming convention:
40-
- `feat/description` — new feature
41-
- `fix/description` — bug fix
42-
- `docs/description` — documentation
43-
- `test/description` — test coverage
44-
- `chore/description` — CI, deps, tooling
37+
Branch naming: `feat/`, `fix/`, `docs/`, `test/`, `chore/` + short description.
4538

4639
### 4. Make your changes
4740

@@ -60,13 +53,7 @@ forgelm --config config_template.yaml --dry-run
6053

6154
### 5. Submit a PR
6255

63-
Push your branch and open a Pull Request against **`development`**.
64-
65-
```
66-
feature/* ──PR──→ development ──PR──→ main (release only)
67-
```
68-
69-
> `main` is protected and only receives release PRs from `development`.
56+
Push your branch and open a Pull Request against `main`.
7057

7158
## Development Setup
7259

docs/qms/sop_change_management.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -19,14 +19,14 @@ Define the procedure for managing changes to fine-tuned models, training configu
1919

2020
### 3.1 Propose
2121

22-
1. Create a branch from `development`: `git checkout -b change/description development`
22+
1. Create a branch: `git checkout -b change/description`
2323
2. Modify the training config (YAML)
2424
3. Document the change rationale in the PR description
2525
4. Run dry-run: `forgelm --config new_config.yaml --dry-run`
2626

2727
### 3.2 Review
2828

29-
1. Open a Pull Request against `development` (release PRs go to `main`)
29+
1. Open a Pull Request against `main`
3030
2. PR must include:
3131
- [ ] Config diff showing what changed
3232
- [ ] Rationale for the change

0 commit comments

Comments
 (0)