GitHub
The GitHub integration connects Interlynk to your GitHub repositories, enabling automated SBOM processing triggered by repository events.
Purpose
Automatically ingest SBOMs when code is pushed or pull requests are created/merged.
Map repository branches to Interlynk environments using environment rules.
Enable PR comments with SBOM analysis results.
Setup Steps
GitHub App (Recommended)
Interlynk uses a GitHub App for OAuth-based authentication. This provides fine-grained repository access without personal access tokens.
Navigate to Settings > Organization > Integrations.
Click GitHub.
You will be redirected to GitHub to authorize the Interlynk GitHub App.
Select the repositories or organization to grant access to.
Complete the authorization. You will be redirected back to Interlynk.
The integration displays your GitHub username and connection status.
Repository Selection
After authorization, configure which repositories trigger SBOM processing:
Set up environment rules (see Environment Rules) to map branches to Interlynk environments.
Configure webhook triggers for the events you want to respond to.
Supported Events
push
Code pushed to a branch
pull_request (created)
New pull request opened
pull_request (merged)
Pull request merged
pull_request (updated)
Pull request updated with new commits
Required Permissions
The GitHub App requests the following permissions:
Repository contents (read)
Read SBOM files from repositories
Pull requests (read/write)
Post PR comments with analysis results
Webhooks (read/write)
Receive push and PR events
Security Notes
The OAuth connection uses token refresh — tokens are automatically re-issued when they expire.
Interlynk stores only the OAuth token, not your GitHub password.
You can revoke access at any time from GitHub's Settings > Applications > Authorized GitHub Apps.
Troubleshooting
Webhook events not received
GitHub App not installed on the repository
Verify the app is installed and the repository is selected
PR comments not appearing
Missing pull request write permission
Re-authorize the GitHub App with the correct permissions
OAuth token expired
Token refresh failed
Disconnect and reconnect the GitHub integration
Wrong repositories visible
App installed at organization level with limited repos
Update repository access in GitHub App settings
Last updated