This directory contains modular GitLab CI/CD templates for GitScrum integration.
Include only the templates you need in your .gitlab-ci.yml.
| Template | File | Purpose |
|---|---|---|
| MR Status Sync | mr-status-sync.yml |
Update task status on MR events |
| Link Tasks | auto-link-task.yml |
Link commits and MRs to tasks |
| Pipeline Status | pipeline-status.yml |
Sync CI status to tasks |
| Sprint Report | sprint-report.yml |
Scheduled sprint summary |
| Deploy Tracking | deploy-tracking.yml |
Track staging/prod deployments |
-
Add variables in Settings > CI/CD > Variables:
GITSCRUM_ACCESS_TOKEN: Your GitScrum API tokenGITSCRUM_WORKSPACE: Workspace slugGITSCRUM_PROJECT: Project slug
-
Include templates in your
.gitlab-ci.yml:
include:
- local: '.gitlab/ci/mr-status-sync.yml'
- local: '.gitlab/ci/auto-link-task.yml'Use task codes in branch names:
feature/GS-123-login-formbugfix/GS-456-fix-crashhotfix/PROJ-789-security-patch