CI Reference
Events per provider, de-duplication, access headers, and what is reported back.
Exact behavior. For setup see Setting up CI.
Events that start a run
| Provider | Mode | Event | Ignored |
|---|---|---|---|
| GitHub | The deployed URL | deployment_status with state success. URL is environment_url, falling back to target_url. | Other states. |
| GitHub | A saved environment | workflow_run completed with conclusion success, name matching Deploy workflow. | Pull-request workflows. |
| GitLab | The deployed URL | deployment with success. URL is the environment's external URL. | None. |
| GitLab | A saved environment | pipeline success on a selected branch. | Tag, merge-request, and child pipelines. |
| Bitbucket | A saved environment | Commit status SUCCESSFUL for a Pipelines build. | Statuses whose key starts with proofline. |
Removing the GitHub App installation disconnects the account.
Webhook authentication
| Provider | Verified with |
|---|---|
| GitHub | X-Hub-Signature-256: HMAC-SHA256 of the raw body, compared in constant time. |
| GitLab | X-Gitlab-Token equal to the per-project secret. |
| Bitbucket | X-Hub-Signature HMAC with the per-project secret. |
GitLab and Bitbucket secrets are random, stored encrypted, and registered on the repository when CI is turned on. GitHub uses the App's webhook.
Branch rules
- Up to 20 rules. Each is up to 100 characters from
A-Za-z0-9_./*@+-.*is a wildcard; case is ignored. - A saved environment: every rule maps to an environment.
- Deployment environment filters by name, only with The deployed URL.
- PR previews (GitHub, GitLab, The deployed URL) test deployments of any branch with an open pull or merge request.
De-duplication and ordering
- Every delivery has a key (
deployment_status:<id>,workflow_run:<id>:<attempt>,pipeline:<id>, …). A redelivered webhook is a no-op. - A newer commit on the same branch cancels older queued or running runs (Superseded by
<sha>). - Runs wait for a free concurrent-run slot and are never dropped for lack of one.
Access headers
Up to 5 per project. Names: letters, digits, -, up to 64 characters. Values: up to 512 characters. Host, Content-Length, Content-Type, Connection, Transfer-Encoding, Upgrade, Cookie, and Set-Cookie can't be set.
- Values are encrypted at rest and never returned by the API. A header saved without a new value keeps the stored one.
- A header is added only to requests whose origin equals the run's target URL. Applies to dashboard runs too.
- A cross-origin redirect from a
GETorHEADrequest reaches the browser without the header. A same-origin redirect chain that later leaves the site, or a non-GETrequest that redirects to another site, can still pass it to that hop.
Reporting
| Provider | Object | Name |
|---|---|---|
| GitHub | Check run: queued, in progress, then success, failure, cancelled, or neutral | Proofline · <project> |
| GitLab | Commit status (skipped is reported as success) | Proofline · <project> |
| Bitbucket | Build status | key proofline-<projectId> |
Descriptions are capped at 140 characters. Updates read the current run state, so retries and reordering are harmless; a failed update is retried three times with exponential backoff from 5 seconds. ProoflineQA does not comment on pull requests. For skip reasons see Results and checks.