-
Create a feature branch from
maingit checkout -b feature/your-feature
-
Make changes and test locally where possible
-
Submit a PR with clear description of changes
-
Review and merge - PRs require approval before merging
Current phase: 0.x development (pre-1.0.0)
- Breaking changes are allowed in minor versions (0.x.0)
- Patch releases for bug fixes (0.x.y)
- Version 1.0.0 will be released when all lecture repos are successfully migrated
After 1.0.0 release:
- We'll use floating major tags (
v1,v2, etc.) - Breaking changes require major version bumps
We use semantic versioning:
| Tag | Purpose |
|---|---|
v0.5.2 |
Specific release version |
@main |
Latest development (testing only) |
After 1.0.0 release, we'll add floating major tags (v1, v2) for stable references.
-
Update CHANGELOG.md
- Move
[Unreleased]items to new[X.Y.Z]section - Add release date
- For breaking changes in 0.x, mark with
⚠️ BREAKING
- Move
-
Create and push tags:
git tag -a v0.x.y -m "Release v0.x.y - Description" git push origin v0.x.y -
Create GitHub Release at https://github.com/QuantEcon/actions/releases/new
- Copy changelog entry as release notes
- Attach any relevant artifacts
During 0.x phase (current):
- Breaking changes are allowed and increment minor version (0.x.0)
- Mark as
⚠️ BREAKING in CHANGELOG with migration notes
After 1.0.0 release:
- Removing inputs/outputs
- Changing default behavior
- Renaming actions
- Use descriptive names with clear defaults
- Document all inputs in action's README.md
- Prefer
'false'as default for optional features
- Provide useful outputs for downstream steps
- Document output values and when they're available
- Use
::warning::and::error::annotations - Provide actionable error messages
- Consider
upload-failure-reportspattern for debugging
Test changes in a lecture repository before merging:
- Reference your branch:
quantecon/actions/action-name@feature/your-branch - Run workflow and verify behavior
- Check outputs and error handling
Update these docs when adding features:
| Doc | Update When |
|---|---|
Action's README.md |
Any input/output changes |
docs/QUICK-REFERENCE.md |
New inputs added |
docs/MIGRATION-GUIDE.md |
Workflow patterns change |
docs/FUTURE-DEVELOPMENT.md |
Features completed/planned |
Open an issue or discussion at https://github.com/QuantEcon/actions