Overview
HelixCommit integrates with GitHub’s API to enrich your release notes with pull request information, author details, and comparison links. This integration is optional but highly recommended for repositories hosted on GitHub.GitHub integration works with both public and private repositories. For private repos, you’ll need to provide a GitHub token with appropriate permissions.
Benefits of GitHub integration
Pull request links
Automatically link commits to their associated pull requests for better traceability
Author attribution
Show who contributed each change, recognizing team members and external contributors
Compare URLs
Generate comparison links between versions to see all changes in GitHub’s UI
Rich metadata
Include PR descriptions, labels, and review information in your release notes
Quick start
Enable GitHub integration
Simply set your GitHub token and HelixCommit will automatically fetch PR data:That’s it! HelixCommit automatically detects GitHub repositories and enriches the output.
Disable GitHub integration
Work offline or skip PR lookups:Authentication
Creating a GitHub token
Navigate to GitHub settings
Go to github.com/settings/tokens and click Generate new token.Choose between:
- Classic token - Traditional personal access tokens
- Fine-grained token - More granular permissions (recommended)
Select permissions
- Public repositories
- Private repositories
No special permissions neededUnauthenticated requests work but have lower rate limits (60 requests/hour).With a token (even without special scopes):
- Rate limit: 5,000 requests/hour
- Better reliability
What gets enriched
Pull request resolution
HelixCommit automatically finds PRs associated with commits:- Before GitHub integration
- After GitHub integration
Compare URLs
Automatic comparison links between versions:Commit-to-PR mapping
HelixCommit uses multiple strategies to find related PRs:- PR number in commit message:
feat: Add feature (#123) - Merge commit pattern:
Merge pull request #123 - GitHub API lookup: Search by commit SHA
Using Conventional Commits with PR numbers in messages improves accuracy and reduces API calls.
Rate limiting
Understanding GitHub rate limits
| Authentication | Rate limit | Resets |
|---|---|---|
| Unauthenticated | 60 requests/hour | Every hour |
| Authenticated | 5,000 requests/hour | Every hour |
| GitHub Actions | Higher limits | Variable |
How HelixCommit handles rate limits
HelixCommit automatically manages rate limits:Monitoring rate limit usage
Check your current rate limit status:Caching
Enable GitHub API caching
Reduce API calls and improve performance:Cache structure
Cached data is stored as JSON files:Cache management
Clear cache
Clear cache
View cache size
View cache size
Inspect cached PR
Inspect cached PR
Configuration options
Environment variables
GitHub personal access token for API authentication.
Maximum number of retry attempts for failed API requests.
Initial delay in seconds for exponential backoff.
Maximum delay in seconds between retries.
Enable persistent caching of GitHub API responses.Valid values:
1, true, yes, onDirectory for storing cached GitHub API responses.
Cache time-to-live in minutes.
CLI flags
Provide GitHub token via command line.
Disable GitHub PR lookups entirely.Useful for:
- Offline work
- Non-GitHub repositories
- Faster generation when PR data isn’t needed
Troubleshooting
API rate limit exceeded
API rate limit exceeded
If you hit rate limits:
-
Use authentication:
- Enable caching:
-
Reduce API calls:
-
Wait for reset:
Permission denied errors
Permission denied errors
Verify your token has correct permissions:
- Go to github.com/settings/tokens
- Check token has
reposcope (for private repos) - Verify token isn’t expired
- Test token:
Pull requests not found
Pull requests not found
If PRs aren’t being linked:
-
Check commit messages:
Ensure PR numbers are mentioned:
feat: Add feature (#123) -
Verify GitHub token:
-
Test without caching:
-
Check repository slug:
Slow generation
Slow generation
To speed up generation:
- Enable caching:
-
Limit commits:
-
Skip merges:
-
Use offline mode for testing:
Best practices
Use consistent commit message format
Use consistent commit message format
Include PR numbers in commit messages:
Enable caching in CI/CD
Enable caching in CI/CD
Use GitHub Actions token
Use GitHub Actions token
GitHub Actions provides No need to create a separate token!
GITHUB_TOKEN automatically:Test without GitHub first
Test without GitHub first
Verify basic functionality before enabling GitHub integration:
Next steps
Configuration
Configure GitHub integration settings
Examples
See GitHub integration in action
CI/CD integration
Automate release notes in GitHub Actions
Conventional Commits
Learn about commit message format