Skip to content

Latest commit

 

History

History
46 lines (32 loc) · 1.13 KB

File metadata and controls

46 lines (32 loc) · 1.13 KB

Contributing

Thanks for considering a contribution to sweetrpg-cli.

Branching

This repo follows the sweetrpg platform's git-flow convention:

  • develop is the integration branch. All feature and fix branches merge here.
  • master reflects the latest released state. Nothing is committed here directly.
  • Branch names: feature/<description> for new functionality, fix/<description> for bug fixes, hotfix/<description> for urgent fixes to a released version.
git checkout develop
git pull
git checkout -b feature/my-change
# ... work, commit ...
git push -u origin feature/my-change
# open a PR: feature/my-change -> develop

Commit messages

Use Conventional Commits:

<type>(<scope>): <description>

Running checks locally

go build -v ./...
go vet ./...
go test -v ./...

Pull requests

CI runs automatically on PRs targeting develop. Once checks pass and the PR is reviewed, it can be merged (auto-merge is enabled once required checks pass).

Releases

Trigger the Prepare Release workflow against develop - see RELEASE.md.