立即开始
GitHub Tools

Github Add App Access Restrictions

通过 Aident Loadout 使用 GitHub Tools 的 Github Add App Access Restrictions。执行前查看输入、输出、设置、价格和风险。

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

服务提供商说明

Adds GitHub Apps to the list of apps allowed to push to a protected branch. The branch must already have protection rules with restrictions enabled. This endpoint only works for organization repositories, not personal repositories. Apps must be installed on the repository with '…

价格与限制

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

输入

  • appsarray
    必填
    The list of GitHub App slugs with push access to grant. Apps must be installed on the repository and have 'contents' write permissions. The app slug is the URL-friendly name of the GitHub App (e.g., 'github-actions', 'dependabot').
  • repostring
    必填
    The name of the repository, without the `.git` extension. This field is not case-sensitive.
  • ownerstring
    必填
    The organization name that owns the repository. This field is not case-sensitive. Note: This endpoint only works for organization-owned repositories.
  • branchstring
    必填
    The name of the branch to which restrictions will be applied. Wildcard characters (e.g., '*') are not allowed in the branch name when using this REST API endpoint. For operations involving wildcard branch names, consult the GitHub GraphQL API.

可观察输出

  • 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

使用此操作的技能

相关使用场景

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

官方来源

服务提供商来源