GitHub integration
Automatically sync releases from your GitHub repositories.
Overview
Connect your GitHub account to automatically create releases in Privato whenever you tag a release in GitHub.
Connecting GitHub
- Go to
Integrations. - Click
Connectinside the GitHub card. - Authorize Privato to access your repositories.
Linking a repository
Once GitHub is connected, you can connect a package to a specific repository.
During package creation, repositories are validated against both your GitHub account access and the access granted to the Privato integration.
A repository is required for Composer packages. For npm packages it's optional and is only used for hosted documentation, repository invitations and license agreements. Their releases come from npm publish, so the syncing below doesn't apply to them.
Automatic sync
When you create a release on GitHub, Privato automatically:
- Detects the new release via webhook
- Downloads the repository at that tag
- Creates a new release in Privato
- Makes it available based on release channel rules and licensing
This typically happens within 1-2 minutes of tagging the release.
Manual sync
If a release was not synced automatically, you can trigger a manual sync:
- Go to your package dashboard.
- Click
Releases. - Use the
Sync releasesaction.
Manual syncs execute in the background and can take 1-2 minutes to complete.