立即开始
GitHub Tools

Github Create A Pull Request

通过 Aident Loadout 使用 GitHub Tools 的 Github Create A Pull Request。执行前查看输入、输出、设置、价格和风险。

写入操作风险等级 2/5OAuth 连接

服务提供商说明

Creates a pull request in a GitHub repository, requiring existing `base` and `head` branches; `title` or `issue` must be provided.

价格与限制

价格
免费操作
统一支付
暂不支持

输入

  • basestring
    必填
    The name of the branch you want the changes pulled into. This must be an existing branch on the current (target) repository. You cannot submit a pull request to one repository that requests a merge to a base branch of another repository.
  • bodystring
    The detailed description or contents of the pull request.
  • headstring
    必填
    The name of the branch where your changes are implemented. IMPORTANT: This branch must already exist in the repository (or fork) before calling this action. You must first create the branch and push commits to it (using git or the 'Create a reference' action), then create the PR…
  • repostring
    必填
    The name of the repository, without the `.git` extension. This name is not case-sensitive.
  • draftboolean
    Indicates whether the pull request should be created as a draft. Draft pull requests cannot be merged until marked as ready for review.
  • issueinteger
    The number of an existing issue in the repository to convert into a pull request. If provided, the issue's title and body may be used for the pull request. Required if `title` is not specified.
  • ownerstring
    必填
    The account owner of the repository. This name is not case-sensitive.
  • titlestring
    The title of the new pull request. Required unless `issue` is specified.
  • head_repostring
    The name of the repository (e.g., 'octocat/Hello-World') where the changes in the pull request were made. This field is required for cross-repository pull requests if both the source and target repositories are owned by the same organization but are different repositories.
  • maintainer_can_modifyboolean
    Indicates whether maintainers of the upstream repository can modify the pull request. This is primarily relevant for pull requests originating from forks.

可观察输出

  • data
    必填
    Data from the action execution
  • errorstring
    Error if any occurred during the execution of the action
  • successfulboolean
    必填
    Whether or not the action execution was successful or not

使用此操作的技能

相关使用场景

尚未关联经过验证的相关使用场景。

官方来源

服务提供商来源