Repository navigation
Commit fe33556
authored
chore(sdk-ts): make semantic-release workflow manual-only (#53)
## Summary
- Makes the TypeScript SDK release workflow manual-only (Python-style
trigger behavior).
- Keeps semantic-release in place, but requires explicit
`workflow_dispatch` for both preview and publish.
- Adds a publish safety gate so non-dry runs can only execute from
`main`.
## Scope
- User-facing/API changes:
- No SDK runtime/API behavior changes.
- Internal changes:
- Updated `.github/workflows/release-sdk-ts.yml`:
- removed `push` trigger
- retained `workflow_dispatch` with `dry_run`
- added guard: `dry_run=false` requires `ref == main`
- Updated `sdks/typescript/RELEASING.md` to match manual-only behavior.
- Out of scope:
- semantic-release rules/tag format/package versioning strategy
- Python release workflow changes
## Risk and Rollout
- Risk level: low
- Rollout plan:
- Merge PR.
- Run manual dry-run on `main` (`dry_run=true`).
- Run manual publish on `main` (`dry_run=false`).
- Rollback plan:
- Revert this PR to restore push-triggered behavior.
## Testing
- [ ] Added or updated automated tests
- [ ] Ran `make check` (or explained why not)
- [x] Manually verified behavior
Notes:
- No new tests added; change is workflow + runbook only.
- Verified workflow path on branch with existing semantic-release runs:
- https://github.com/agentcontrol/agent-control/actions/runs/22649229718
- https://github.com/agentcontrol/agent-control/actions/runs/22649269871
## Checklist
- [x] Linked issue/spec (if applicable)
- [x] Updated docs/examples for user-facing changes
- [x] Included any required follow-up tasks
Links:
- Parent story:
https://app.shortcut.com/galileo/story/55974/define-typescript-sdk-semver-policy-and-release-alignment
- Implementation subtask:
https://app.shortcut.com/galileo/story/57429/implement-independent-commitdriven-semanticrelease-for-typescript-sdk1 parent 1f35bec commit fe33556
2 files changed
Lines changed: 6 additions & 4 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
1 | 1 | | |
2 | 2 | | |
3 | 3 | | |
4 | | - | |
5 | | - | |
6 | 4 | | |
7 | 5 | | |
8 | 6 | | |
| |||
88 | 86 | | |
89 | 87 | | |
90 | 88 | | |
| 89 | + | |
| 90 | + | |
| 91 | + | |
| 92 | + | |
| 93 | + | |
91 | 94 | | |
92 | 95 | | |
93 | 96 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
46 | 46 | | |
47 | 47 | | |
48 | 48 | | |
49 | | - | |
50 | 49 | | |
51 | | - | |
| 50 | + | |
52 | 51 | | |
53 | 52 | | |
54 | 53 | | |
| |||
0 commit comments