Architecture / Decision records / ADR-HIS-038
ADR-HIS-038 Development repository on GitHub¶
| Status | Accepted |
| Decided | 2026-11-24 by the product owner |
| Record | Drafted 2026-11-24; approved 2026-11-24 by the Enterprise Architecture Board |
| Where the rule lives | Architecture, section 10.3 |
Context¶
ADR-HIS-033 put code and documentation in one repository, hosted on gitlab.com until the hospital's self-managed GitLab exists. The sessions of the session plan need issue tracking, review and pipelines while they run side by side. On the free tiers compared, GitHub offers blocking relations between issues, custom fields on its project boards, no cap on users of a private repository and more pipeline minutes; gitlab.com caps a private group at five users, too few for the domain leads and safety reviewers who must review the sessions' work.
Options considered¶
- Stay on gitlab.com until the self-managed GitLab exists
- Move development to GitHub (cema-care/his) until the self-managed GitLab exists
Decision¶
Development moves to the private GitHub repository cema-care/his. It is the origin of the code and documentation, and the place for issues, reviews and pipelines (GitHub Actions). The gitlab.com repository is kept read-only as it was at the move.
This does not change technology stack row 12 (ADR-HIS-012): source and pipelines for production are still the hospital's self-managed GitLab (DEP-008).
Rationale¶
The free GitHub tier covers what running many sessions needs, for every reviewer, without a paid plan. The move is for the development period only, so the production toolchain decision stands.
Consequences¶
- Foundation session FN-S05 builds the pipeline in GitHub Actions. It replaces
.gitlab-ci.yml, which was removed at the move; the documentation check runs as a GitHub Actions workflow. - Before production the repository moves to the self-managed GitLab, and the pipeline is written again for GitLab CI. Keeping pipeline logic in scripts the workflow calls, rather than in the workflow file, keeps that rewrite small.
- On a private repository the GitHub free tier does not enforce branch protection or required reviews. "A person merges" (session rule 11) and the safety reviews are kept by the people who merge, not enforced by the platform, until the repository is on a plan or host that enforces them.
- GitHub Pages is not available for a private repository on the free tier. The documentation site published at trivolution.gitlab.io stays as it was at the move and is no longer updated; where the site is published from now on is still to be decided.
- Sessions open pull requests rather than merge requests, with the GitHub CLI.