GitHub Setup
BeatConnect uses a GitHub App for secure repository access. This gives you fine-grained control over which repositories we can access, without sharing your personal access tokens.
Installing the GitHub App
Step 1: Start the Connection
- Go to Creator Portal → Settings → Developer
- Click Connect GitHub
You’ll be redirected to GitHub to authorize the app.
Step 2: Choose Installation Scope
GitHub will ask where to install the BeatConnect app:
| Option | Best For |
|---|---|
| Personal Account | Solo developers |
| Organization | Teams, companies, or multiple collaborators |
Select your preferred account.
Step 3: Select Repositories
Choose which repositories the app can access:
| Option | Description |
|---|---|
| All repositories | Access to all current and future repos |
| Only select repositories | Choose specific repos (recommended) |
Recommendation: Start with “Only select repositories” and add more as needed. You can change this later.
Step 4: Authorize
Click Install & Authorize. You’ll be redirected back to BeatConnect.
Verification
After successful connection, you’ll see:
- ✅ GitHub Connected
- Account:
your-usernameoryour-org - Connected: [timestamp]
Managing Repository Access
Adding More Repositories
- Go to GitHub Settings → Applications → Installed GitHub Apps
- Find BeatConnect Build System
- Click Configure
- Add or remove repository access
Checking Access
In the Creator Portal:
- Go to Projects → Link External Repository
- You’ll see a list of accessible repositories
- Missing a repo? Click Manage GitHub Access
Multiple Accounts
You can connect repositories from:
- Your personal GitHub account
- Multiple GitHub organizations
- Any account where you have admin access
Each connection creates a separate installation with its own repository scope.
Permissions Explained
The BeatConnect GitHub App requests these permissions:
| Permission | Level | Purpose |
|---|---|---|
| Repository contents | Read | Clone code for building |
| Metadata | Read | List repositories, check topics |
| Actions | Read & Write | Trigger and monitor builds |
| Webhooks | Read & Write | Receive push notifications |
What We CAN Do
- ✅ Read your source code (only during builds)
- ✅ Trigger GitHub Actions workflows
- ✅ Receive webhook events (pushes, releases)
- ✅ Read repository metadata
What We CANNOT Do
- ❌ Push code to your repository
- ❌ Delete branches or repositories
- ❌ Access your GitHub profile data
- ❌ Modify repository settings
- ❌ Access other users’ private repos
Repository Discovery
BeatConnect automatically discovers repositories tagged with the beatconnect-plugin topic.
Adding the Topic
Via GitHub CLI:
gh repo edit --add-topic beatconnect-pluginVia GitHub Website:
- Go to your repository
- Click the gear icon next to “About”
- Add
beatconnect-pluginto Topics - Click Save changes
Why Use Topics?
- Automatic project discovery in Creator Portal
- Easy filtering of plugin repositories
- Optional but recommended
Webhook Configuration
When you link a repository, BeatConnect automatically:
- Creates a webhook for push events
- Configures secure signature verification
- Enables automatic build triggers (optional)
Webhook Events
| Event | Action |
|---|---|
push | Optionally trigger build |
release | Optionally trigger release build |
repository | Sync repository metadata |
Automatic Builds
You can configure automatic builds on push:
- Go to Project Settings
- Enable Auto-build on push
- Configure filters:
- Branch:
main,release/*, etc. - Files: Only when source files change
- Branch:
Troubleshooting
”Repository not found”
Cause: GitHub App doesn’t have access to the repository.
Fix:
- Go to GitHub → Settings → Applications
- Configure BeatConnect app
- Add the missing repository
”Installation not found”
Cause: GitHub App was uninstalled or you’re using a different account.
Fix:
- Disconnect GitHub in Creator Portal
- Reconnect with the correct account
”Access denied to organization”
Cause: Organization requires approval for new apps.
Fix:
- Ask an organization admin to approve the app
- Or use a personal fork of the repository
”Rate limit exceeded”
Cause: Too many API requests (rare).
Fix:
- Wait 1 hour for rate limit reset
- Reduce build frequency if hitting limits regularly
Disconnecting
To remove BeatConnect access:
From Creator Portal
- Go to Settings → Developer
- Click Disconnect GitHub
- Confirm disconnection
From GitHub
- Go to GitHub Settings → Applications
- Find BeatConnect Build System
- Click Uninstall
Note: Disconnecting removes access to all repositories. Linked projects will show “Repository disconnected” and cannot build until reconnected.
Security Best Practices
- Use minimal scope — Only grant access to plugin repositories
- Review access regularly — Remove repos you no longer need
- Audit builds — Check build logs for unexpected activity
- Use branch protection — Prevent unauthorized pushes to main branches