GitHub workflow

Issues track the work; databayt commits straight to main; pull requests are only for outside repos

GitHub workflow

Issues say what to do. Commits go straight to main. There are no branches and no pull requests inside databayt.

Issues

ActionHow
Opengh issue create --repo databayt/<repo> --title "<type>: <description>" --body "<details>"
LabelType (feature, bug, chore, docs, refactor) and priority P0 to P3 (P0 drop everything, P1 this week, P2 this sprint, P3 backlog)
ClosePut Closes #N in the commit message; the issue closes when the commit reaches main

An issue is optional: open one for visible work someone else should track.

Commits

<type>: <description, present tense, 72 characters or less>
 
Why this change, not what (the diff shows what).
 
Closes #N

Types: feat, fix, chore, docs, refactor, test, perf, style. Keep commits small and frequent.

git branch --show-current          # must print main
git pull --rebase origin main && git push origin main

Never force-push main.

Outside repos

Pull requests exist only when you contribute to a repo databayt does not own: fork, branch, open the PR there.