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 '…
价格与限制
- 价格
- 免费操作
- 统一支付
- 暂不支持
输入
- 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').appsarray必填
- The name of the repository, without the `.git` extension. This field is not case-sensitive.repostring必填
- The organization name that owns the repository. This field is not case-sensitive. Note: This endpoint only works for organization-owned repositories.ownerstring必填
- 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.branchstring必填
可观察输出
- Data from the action executiondata必填
- Error if any occurred during the execution of the actionerrorstring
- Whether or not the action execution was successful or notsuccessfulboolean必填
使用此操作的技能
相关使用场景
尚未关联经过验证的相关使用场景。