GitHub App
Install Pinelight's GitHub App to automatically scan your pull requests.
Installation
- Go to your organization or user settings in GitHub
- Navigate to Settings > Installed GitHub Apps
- Click Install Pinelight
- Select the repositories you want to protect
- Configure auto-scanning for new repositories
Permissions
Pinelight requests the following permissions:
- Contents read: Access to read repository code for scanning
- Pull requests read & write: Post check runs and review comments
- Statuses read & write: Update commit status checks
How It Works
- When a PR is opened or updated, Pinelight receives a webhook notification
- Pinelight fetches the changed files from the PR
- The scanner analyzes each file for vulnerabilities
- A check run is posted to the PR with a summary
- Inline comments are posted for each finding
Auto-Scanning
Enable auto-scanning for new repositories:
- Go to your Dashboard
- Navigate to Repositories
- Toggle Auto-scan for each repository
- New PRs will be scanned automatically