Link a GitLab repository so Premortem can ingest code, CI config, and publish approved issues.
Who this is forPlatform engineers and team leads setting up the first integration.
Prerequisites- Organization owner or admin access in Premortem.
- GitLab OAuth app credentials configured for your environment.
Authorize OAuth
- Settings → Integrations → Connect GitLab.
- Complete OAuth; tokens persist for publish and reconciliation workers.
- Re-auth if tokens expire: stale connections show WARNING on the project card.
Register project
- Projects → Register repository: name, repo URL, branch (usually main).
- Optional scan snippet attaches custom context for ad hoc snippet analysis.
- Work item attributes (Settings) control labels applied on publish.
Verify ingest
- Trigger a manual scan and confirm ingestion_completed in audit events.
- Graph snapshot node/edge counts appear in the audit snapshot.
- See GitLab integration doc for MCP and REST publish details.
Expected result
A connected project with persisted provider tokens and autoRunOnPush settings when continuous audit is enabled.
Was this article helpful?