Thanks for considering a contribution to catalog-api.
This repo follows the sweetrpg platform's git-flow convention:
developis the integration branch. All feature and fix branches merge here.masterreflects 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 -> developUse Conventional Commits:
<type>(<scope>): <description>
go build -v ./...
go vet ./...
go test -v -coverprofile coverage.out ./...Full local run (with Redis cache and MongoDB) is available via scripts/run-docker-local.sh /
docker/docker-compose.yml.
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).
Versions are tagged automatically from develop on merge (patch bump by default). Use the
"Bump version" workflow (workflow_dispatch) to cut a minor or major version instead.