Skip to main content
Pulumi logo Pulumi logo
  1. Docs
  2. Integrations
  3. Version Control

    Version Control

    Pulumi version control integrations connect Pulumi with your VCS provider, enabling infrastructure previews on pull requests and automated deployment workflows. Use a native integration for GitHub, GitLab, Azure DevOps, Bitbucket, Entire, or Cursor Origin, or connect any Git or Mercurial server with a Custom VCS integration.

    What the integrations provide

    Native integrations connect to your provider’s own events and APIs. Depending on the provider, you get:

    • Pull request previews and comments. When a pull request is opened or updated, Pulumi runs pulumi preview and posts the resource changes back as a comment, so reviewers see the infrastructure impact of a change without leaving the pull request. Comments can include a collapsible property-level diff.
    • Commit status checks. Pull request deployment results are reported back to the provider as commit statuses or checks, each linking to the full deployment in Pulumi Cloud. On GitHub, Entire, and Cursor Origin, push-to-deploy runs report a check as well. On GitLab, Bitbucket, and Azure DevOps, statuses are posted for pull request deployments only.
    • Push-to-deploy. Pushing to a configured branch runs pulumi up automatically. Path filters limit deployments to commits that touch matching files, and tag triggers let you deploy on release tags instead of every commit.
    • Review stacks. Each pull request gets a real, ephemeral environment, destroyed automatically when the pull request is merged or closed.
    • Repository and branch discovery. Pulumi lists your repositories and branches when you configure a stack’s deployment settings, instead of making you type identifiers by hand.
    • Managed credentials and webhooks. Pulumi registers the necessary webhooks, service hooks, or app subscriptions and handles token issuance and rotation for you.
    • New project creation. The New Project Wizard can create a repository or target an existing one, and organization templates can be sourced from your repositories.

    The following table shows which integrations support each capability.

    IntegrationPR commentsChecksPush-to-deployPath filtersTag triggersReview stacksRepo discoveryProject wizardTemplates
    GitHubYesYesYesYesYesYesYesYesYes
    GitLabYesYesYesAPI onlyYesYesYesYesYes
    BitbucketYesYesYesAPI onlyYesYesYesYesNo
    Azure DevOpsYesYesYesAPI onlyYesYesYesYesYes
    EntireNoYesYesAPI onlyYesYesYesNoNo
    Cursor OriginYesYesYesAPI onlyYesYesYesNoNo
    Custom VCSNoNoYesPartialYesNoPartialNoNo
    • API only: the Pulumi Cloud console shows path filters for GitHub stacks only. For other integrations, set them through the Deployments REST API.
    • Entire runs previews and review stacks on trails, the Entire equivalent of pull requests. It reports results as checks and deployments instead of comments.
    • Custom VCS connects any Git or Mercurial server through webhooks you configure. Path filters apply only when the webhook payload lists the changed files. You register repositories by hand and type the branch name.

    Provider pages document the details that differ, such as authentication methods, repository identifier formats, and injected environment variables.

    Multiple providers and accounts

    You can connect multiple VCS providers to a single Pulumi organization simultaneously, for example GitHub, GitLab, Azure DevOps, Bitbucket, Entire, Cursor Origin, and Custom VCS all at once. You can also connect multiple accounts of the same provider, such as two separate GitHub organizations or two GitLab groups.

    GitHub Enterprise Server is currently limited to one connection per Pulumi organization.

    Have questions?

    For questions or feedback, reach out on community Slack, GitHub, or contact support.

    The infrastructure platform for humans and agents.