Skip to content

Projects & Ingestion Setup

Connect your GitHub repositories or send CI telemetry from any provider.

Dashboard
Origin Demo Shoporigin-ci/demo-shop
Webhook URL
http://localhost:4000/api/webhooks/github
Webhook Secret (HMAC-SHA256)
origin_demo_secret_2026
.github/workflows/origin-ci.yml
name: Origin Ingest
on: [push, pull_request]

jobs:
  test:
    runs-on: ubuntu-latest
    steps:
      - uses: actions/checkout@v4
      - uses: actions/setup-node@v4
        with:
          node-version: 20
      - run: npm ci
      - run: npm test -- --ci --testResultsProcessor=jest-junit
      
      - name: Send Test Results to Origin
        if: always()
        run: |
          curl -X POST "https://origin-api-a6pj.onrender.com/api/ingest/demo-shop" \
            -H "Authorization: Bearer ${{ secrets.ORIGIN_TOKEN }}" \
            -H "Content-Type: application/json" \
            -d @- << 'EOF'
          {
            "run": {
              "externalId": "${{ github.run_id }}",
              "branch": "${{ github.ref_name }}",
              "sha": "${{ github.sha }}",
              "workflow": "${{ github.workflow }}",
              "status": "${{ job.status }}"
            }
          }
          EOF