Connect Decision Receipt to your stack
Decision Receipt integrates with every major development platform. Setup takes under 10 minutes.
Automatic receipt on every PR. Status checks + comments with verdict.
gh webhook create --repo ORG/REPO \ --events pull_request \ --url https://decrec.summitcognitive.ai/v1/webhook/github
Evaluates merge_request events. Settings > Webhooks:
URL: https://decrec.summitcognitive.ai/v1/webhook/gitlab Token: your-secret Events: Merge request events
Evaluates pullrequest:created/updated. Repository Settings > Webhooks:
URL: https://decrec.summitcognitive.ai/v1/webhook/bitbucket Events: Pull Request (Created, Updated)
Get receipt notifications in your Slack channel:
- Create a Slack Incoming Webhook at api.slack.com
- Register it with Decision Receipt:
curl -X POST https://decrec.summitcognitive.ai/v1/webhooks/outbound \
-H "Content-Type: application/json" \
-d '{"url":"https://hooks.slack.com/services/YOUR/WEBHOOK/URL",
"events":["receipt.created"]}'
Receipt cards include Slack Block Kit format. View payload schema
Block merges when admissibility fails:
- uses: summitcognitive/decision-receipt/github-action@v1
with:
api-url: https://decrec.summitcognitive.ai
fail-on-block: "true"
Full typed client with 30+ methods:
import { DecRec } from "@summit-dr/sdk";
const dr = new DecRec({ apiKey: "sk_decrec_..." });
const result = await dr.evaluatePR({ ... });
Export receipts as SARIF 2.1.0 for integration with GitHub Code Scanning, VS Code SARIF Viewer, and security dashboards:
GET /v1/receipts/{id}/sarif
Failed policy rules become SARIF results with error level.
Subscribe to the receipt feed:
# RSS
https://decrec.summitcognitive.ai/feed.xml
# Server-Sent Events
const source = new EventSource('/v1/feed');
source.addEventListener('receipt', ...)
Embed a repo dashboard in any page:
<iframe src="https://decrec.summitcognitive.ai/embed/ORG/REPO" width="400" height="300"></iframe>
Also: embed snippet generator for badges, QR, seal