Overview
The GitHub integration connects your repositories to bounty.new, allowing you to turn issues into bounties and automatically reward contributors when PRs are merged.Prerequisites
- A bounty.new account
- Admin access to your GitHub repository
Installation
Install the GitHub app
Navigate to your organization’s integrations page at
bounty.new/[slug]/integrations/github/[integration-id] and click Install GitHub App.Creating bounties from issues
Via bot command
Comment on any issue with:- Only repo collaborators with write access can create bounties
- Creates an unfunded bounty linked to the issue
- Bot replies with a link to complete payment on bounty.new
- Bounty activates once payment is completed
Via dashboard
Create a bounty in your dashboard:- Select a repository from your GitHub App installation
- Fill out the form with title, description, amount, deadline, and tags
- Complete payment via Stripe Checkout
- Bot posts a comment on the linked GitHub issue announcing the bounty
Automatic payouts
When a PR that closes a bounty issue is merged:- The bounty.new bot detects the merge
- Verifies the PR author
- Processes the payout automatically
- Comments on the issue with confirmation
Bot commands reference
| Command | Description | Who can use |
|---|---|---|
@bountydotnew 100 | Create $100 bounty on issue | Repo collaborators (write access) |
@bountydotnew 500 USD | Create $500 bounty with explicit currency | Repo collaborators (write access) |
/submit 123 | Submit PR #123 as solution | PR author or maintainers |
@bountydotnew submit 123 | Submit PR #123 as solution | PR author or maintainers |
/unsubmit 123 | Remove submission for PR #123 | Submitter or bounty creator |
/approve 123 | Approve submission PR #123, trigger payout | Bounty creator only |
/unapprove 123 | Revoke approval for PR #123 | Bounty creator only |
/reapprove 123 | Switch winner to different PR | Bounty creator only |
/merge 123 | Confirm merge and trigger payout | Bounty creator only |
@bountydotnew move 456 | Move bounty to different issue | Bounty creator only |
All
/slash commands also work with @bountydotnew prefix. PR numbers can optionally include # (e.g., /submit #123 or /submit 123).Bounty status tracking
The bot updates issue comments with bounty status:- Open: Bounty is funded and accepting submissions
- Completed: Submission approved and payout processed
- Cancelled: Bounty cancelled and refunded
Connecting GitHub
Installation flow
- Navigate to Settings > Integrations on bounty.new
- Click Connect GitHub
- Select which repositories to grant access
- GitHub redirects back to bounty.new
- Your installation is now active
Managing installations
- Sync repos: Fetch latest repository list from GitHub
- Modify access: Redirects to GitHub’s installation settings page
- Remove: Remove via GitHub settings (we receive a webhook notification)
Submission workflow
For contributors (submitting PRs)
Open a PR
Create a pull request that references the bounty issue (e.g.,
Fixes #123 in PR description).Submit your PR
Submit using one of these methods:Option 1: Add Where
@bountydotnew submit to your PR descriptionOption 2: Comment on the bounty issue:123 is your PR number.- PR must exist and be open
- Bounty must be funded
- Bounty must be accepting submissions (no approved submission yet)
- PR authors can submit their own PRs; maintainers can submit on behalf of others
Removing a submission
For bounty creators (approving & paying)
Approve the submission
Comment on the bounty issue:Where
123 is the PR number. The bot posts “Submission Approved” on both the issue and PR.- Only the bounty creator can approve
- Solver must have connected their Stripe account for payout
- Submission status changes to approved
- All other pending submissions are rejected
- After
/merge, payout is initiated to solver’s Stripe Connected Account - Bot posts confirmation comments with payout details on both issue and PR
Managing approvals
Revoke an approval:Troubleshooting
Bounty not created from issue
Bounty not created from issue
Ensure you have write access to the repository and the GitHub app is installed with proper permissions.
Cannot approve submission
Cannot approve submission
Verify the solver has connected their Stripe account at https://bounty.new/settings/payments.
Bot not responding to commands
Bot not responding to commands
Check that the bounty.new GitHub app has read/write access to issues and pull requests.
