Skip to content

GitHub Integration

Flagship integrates deeply with GitHub to automate your release process.

Installing the Flagship GitHub App

  1. Navigate to Settings > Integrations > Source Control in your Flagship dashboard.
  2. Click Connect GitHub.
  3. You will be redirected to GitHub to install the Flagship App.
  4. Select the repositories you want Flagship to monitor. We recommend selecting specific repositories rather than "All Repositories" for better security control.

How it Works

Once installed, Flagship listens for Pull Request events.

  • PR Analysis: When a PR is opened or updated, Flagship scans the code changes.
  • Flag Detection: It identifies new OpenFeature flag evaluations.
  • Comment Bot: Flagship posts a comment on the PR with a link to the generated Rollout Plan.
  • Cleanup: After a rollout is finalized, Flagship opens a PR to remove the feature flag code.