Skip to main content
Pulumi logo Pulumi logo
  1. Docs
  2. Infrastructure AI
  3. Pulumi Agents
  4. Review proposed changes
  5. Prepare pull requests

Prepare pull requests

    An agent can open a pull request in a connected repository and push revisions to it from the same task.

    Before you begin

    Connect version control

    Connect the repository through a version control integration. Pulumi supports pull requests through GitHub, Azure DevOps, GitLab, and Bitbucket.

    Custom VCS connections support cloning and pushing code, but do not support opening pull requests.

    Identify the repository

    Include the repository URL in your request. For a task attached to a stack, the agent can also use the stack’s Git metadata tags to locate its source repository. The version control integration must have access to that repository.

    Open a pull request

    1. In the task where the agent prepared the change, ask it to open a pull request.
    2. If the task’s approval mode requires confirmation, approve the request.
    3. Follow the pull-request link in the task to review the diff and your repository’s checks.

    The pull request describes the change and links back to the task. Reviewers need access to the task to read that conversation. For a Neo task, enable link sharing if reviewers in your organization need access.

    Request revisions

    Reply in the same task with the changes you want. The agent can push revisions to the existing pull request. Follow Review proposed changes for reviewing and merging the change.

      The infrastructure platform for humans and agents.