Setup Repository

Connect your GitHub repository to BobCI

1

Create Token

Generate a GitHub Personal Access Token with repo permissions

2

Add Repository

Enter your repository details and token below

3

Configure Webhook

Set up the webhook in your GitHub repository settings

Repository Details

The username or organization that owns the repository

The name of the repository (without the owner)

Create at github.com/settings/tokens/new with repo scope

This secret will be used to verify webhook requests from GitHub

Step 3: Configure GitHub Webhook

After connecting your repository, configure the webhook in GitHub:

  1. 1.Go to your repository settings → Webhooks → Add webhook
  2. 2.
    Set the Payload URL to:
    http://localhost:8000/webhook/github
  3. 3.Set Content type to application/json
  4. 4.
    Set the Secret to:
    c8ebfeb93a71c37c1924d1246879fe015c3e313b456ec27be3c58f37469b0346
  5. 5.Select "Let me select individual events" and check Pull requests
  6. 6.Click "Add webhook"

💡 Tip: If testing locally, use ngrok to expose your local server to GitHub webhooks