GET BRANCH PROTECTION
Protected branches are available in public repositories with GitHub Free,
across all repos for organizations, GitHub Pro, Team, Enterprise Cloud,
and Server. Details are in GitHub's product do
from composio_crewai import ComposioToolSet, Action
tool_set = ComposioToolSet()
tools = tool_set.get_tools(actions=[Action.GITHUB_GET_BRANCH_PROTECTION])
UPDATE BRANCH PROTECTION
Protected branches are enabled across various GitHub plans, requiring admin
permissions to set up. Note that updating `users` and `teams` arrays overwrites
existing ones, with a total limit of
from composio_crewai import ComposioToolSet, Action
tool_set = ComposioToolSet()
tools = tool_set.get_tools(actions=[Action.GITHUB_UPDATE_BRANCH_PROTECTION])
DELETE BRANCH PROTECTION
Protected branches are available in public repos with GitHub Free/Org, and
in both public/private repos with GitHub Pro, Team, Enterprise Cloud, and
Server. For details, see GitHub's products
from composio_crewai import ComposioToolSet, Action
tool_set = ComposioToolSet()
tools = tool_set.get_tools(actions=[Action.GITHUB_DELETE_BRANCH_PROTECTION])
GET ADMIN BRANCH PROTECTION
GitHub Free allows protected branches in public repos and for organizations;
GitHub Pro, Team, Enterprise Cloud, and Server expands this to private repos
as well. Further details in GitHub Hel
from composio_crewai import ComposioToolSet, Action
tool_set = ComposioToolSet()
tools = tool_set.get_tools(actions=[Action.GITHUB_GET_ADMIN_BRANCH_PROTECTION])
SET ADMIN BRANCH PROTECTION
Protected branches in GitHub, available across Free, Pro, Team, and Enterprise
plans for both public and private repositories, require admin or owner permissions
for enforcement due to enabled
from composio_crewai import ComposioToolSet, Action
tool_set = ComposioToolSet()
tools = tool_set.get_tools(actions=[Action.GITHUB_SET_ADMIN_BRANCH_PROTECTION])
DELETE ADMIN BRANCH PROTECTION
Protected branches are accessible in both free and paid GitHub public/private
repositories. Removing admin enforcement needs admin/owner rights and branch
protection activation.
from composio_crewai import ComposioToolSet, Action
tool_set = ComposioToolSet()
tools = tool_set.get_tools(actions=[Action.GITHUB_DELETE_ADMIN_BRANCH_PROTECTION])
GET PULL REQUEST REVIEW PROTECTION
Protected branches can be used in public repos for GitHub Free users and
organizations, and in both public and private repos with GitHub Pro, Team,
Enterprise Cloud, and Server. More info is i
from composio_crewai import ComposioToolSet, Action
tool_set = ComposioToolSet()
tools = tool_set.get_tools(actions=[Action.GITHUB_GET_PULL_REQUEST_REVIEW_PROTECTION])
UPDATE PULL REQUEST REVIEW PROTECTION
Protected branches are supported in various GitHub plan repositories. Updating
pull review enforcement needs admin/owner permissions and branch protection.
Adding new `users` and `teams` array
from composio_crewai import ComposioToolSet, Action
tool_set = ComposioToolSet()
tools = tool_set.get_tools(actions=[Action.GITHUB_UPDATE_PULL_REQUEST_REVIEW_PROTECTION])
DELETE PULL REQUEST REVIEW PROTECTION
Protected branches can be used in public repositories with GitHub Free and
in both public/private repositories with higher plans like GitHub Pro, Team,
and Enterprise. More details are on GitH
from composio_crewai import ComposioToolSet, Action
tool_set = ComposioToolSet()
tools = tool_set.get_tools(actions=[Action.GITHUB_DELETE_PULL_REQUEST_REVIEW_PROTECTION])
GET COMMIT SIGNATURE PROTECTION
Protected branches are supported across various GitHub plans. Admins or
owners can check if a branch requires signed commits via a specific endpoint.
Branch protection must be enabled to requi
from composio_crewai import ComposioToolSet, Action
tool_set = ComposioToolSet()
tools = tool_set.get_tools(actions=[Action.GITHUB_GET_COMMIT_SIGNATURE_PROTECTION])
CREATE COMMIT SIGNATURE PROTECTION
Protected branches can be used in various GitHub plans, including Free,
Pro, and Enterprise, for both public and private repositories. They allow
admins or owners to require signed commits on
from composio_crewai import ComposioToolSet, Action
tool_set = ComposioToolSet()
tools = tool_set.get_tools(actions=[Action.GITHUB_CREATE_COMMIT_SIGNATURE_PROTECTION])
DELETE COMMIT SIGNATURE PROTECTION
Protected branches are available with various GitHub plans. Admins or owners
can disable required signed commits on protected branches. See GitHub's
products for more info.
from composio_crewai import ComposioToolSet, Action
tool_set = ComposioToolSet()
tools = tool_set.get_tools(actions=[Action.GITHUB_DELETE_COMMIT_SIGNATURE_PROTECTION])
GET STATUS CHECKS PROTECTION
Protected branches are available in public repos with GitHub Free, GitHub
Free for organizations, and in both public and private repos with GitHub
Pro, Team, Enterprise Cloud, and Server. More
from composio_crewai import ComposioToolSet, Action
tool_set = ComposioToolSet()
tools = tool_set.get_tools(actions=[Action.GITHUB_GET_STATUS_CHECKS_PROTECTION])
UPDATE STATUS CHECK PROTECTION
Protected branches are accessible in public repos with GitHub Free and in
both public and private repos with GitHub Pro, Team, and Enterprise versions.
Admin permissions are needed to update s
from composio_crewai import ComposioToolSet, Action
tool_set = ComposioToolSet()
tools = tool_set.get_tools(actions=[Action.GITHUB_UPDATE_STATUS_CHECK_PROTECTION])
REMOVE STATUS CHECK PROTECTION
Protected branches are accessible in public repos with GitHub Free and for
organizations, as well as in both public and private repos with GitHub Pro,
Team, Enterprise Cloud, and Server. Furth
from composio_crewai import ComposioToolSet, Action
tool_set = ComposioToolSet()
tools = tool_set.get_tools(actions=[Action.GITHUB_REMOVE_STATUS_CHECK_PROTECTION])
GET ALL STATUS CHECK CONTEXTS
Protected branches are accessible in both free and paid GitHub plans, including
public repositories with GitHub Free, and both public and private repositories
with higher-tier plans. More deta
from composio_crewai import ComposioToolSet, Action
tool_set = ComposioToolSet()
tools = tool_set.get_tools(actions=[Action.GITHUB_GET_ALL_STATUS_CHECK_CONTEXTS])
ADD STATUS CHECK CONTEXTS
Protected branches are accessible in public repositories with GitHub Free,
and in both public and private repositories with GitHub Pro, Team, Enterprise
Cloud, and Server. More info is in GitH
from composio_crewai import ComposioToolSet, Action
tool_set = ComposioToolSet()
tools = tool_set.get_tools(actions=[Action.GITHUB_ADD_STATUS_CHECK_CONTEXTS])
SET STATUS CHECK CONTEXTS
Protected branches are accessible in GitHub Free public repos and for organizations,
as well as in both public/private repos with GitHub Pro, Team, Enterprise
Cloud, and Server. For details, r
from composio_crewai import ComposioToolSet, Action
tool_set = ComposioToolSet()
tools = tool_set.get_tools(actions=[Action.GITHUB_SET_STATUS_CHECK_CONTEXTS])
REMOVE STATUS CHECK CONTEXTS
Protected branches are accessible in public repos with GitHub Free, in both
public and private repos with GitHub Pro, Team, Enterprise Cloud, and Enterprise
Server. More details are on GitHub'
from composio_crewai import ComposioToolSet, Action
tool_set = ComposioToolSet()
tools = tool_set.get_tools(actions=[Action.GITHUB_REMOVE_STATUS_CHECK_CONTEXTS])
GET ACCESS RESTRICTIONS
Protected branches are available in all GitHub plans, including free and
paid options, and restrict access in organization-owned repositories. More
information can be found on GitHub's documen
from composio_crewai import ComposioToolSet, Action
tool_set = ComposioToolSet()
tools = tool_set.get_tools(actions=[Action.GITHUB_GET_ACCESS_RESTRICTIONS])
DELETE ACCESS RESTRICTIONS
Protected branches are available across various GitHub plans, including
Free, Pro, Team, and Enterprise versions, in both public and private repositories.
They block unauthorized users from pu
from composio_crewai import ComposioToolSet, Action
tool_set = ComposioToolSet()
tools = tool_set.get_tools(actions=[Action.GITHUB_DELETE_ACCESS_RESTRICTIONS])
GET APPS WITH ACCESS TO THE PROTECTED BRANCH
Protected branches are supported in both free and paid GitHub plans, with
varying access across public and private repositories. They ensure only
authorized GitHub Apps with write access can p
from composio_crewai import ComposioToolSet, Action
tool_set = ComposioToolSet()
tools = tool_set.get_tools(actions=[Action.GITHUB_GET_APPS_WITH_ACCESS_TO_THE_PROTECTED_BRANCH])
ADD APP ACCESS RESTRICTIONS
Protected branches are supported in both free and paid GitHub plans, allowing
push access only to specific GitHub Apps with write access. For details,
visit GitHub's products documentation.
from composio_crewai import ComposioToolSet, Action
tool_set = ComposioToolSet()
tools = tool_set.get_tools(actions=[Action.GITHUB_ADD_APP_ACCESS_RESTRICTIONS])
SET APP ACCESS RESTRICTIONS
Protected branches are supported across various GitHub plans, including
Free and Pro versions, and control app push access, limiting it to authorized
GitHub Apps with write access.
from composio_crewai import ComposioToolSet, Action
tool_set = ComposioToolSet()
tools = tool_set.get_tools(actions=[Action.GITHUB_SET_APP_ACCESS_RESTRICTIONS])
REMOVE APP ACCESS RESTRICTIONS
Protected branches can be used in various GitHub plans, restricting app
push access to those installed on the repository with write access. More
info at GitHub's products documentation.
from composio_crewai import ComposioToolSet, Action
tool_set = ComposioToolSet()
tools = tool_set.get_tools(actions=[Action.GITHUB_REMOVE_APP_ACCESS_RESTRICTIONS])
GET TEAMS WITH ACCESS TO THE PROTECTED BRANCH
Protected branches are accessible in public repos with GitHub Free and in
both public/private repos with GitHub Pro, Team, Enterprise Cloud, and Server.
It also lists teams with push access to
from composio_crewai import ComposioToolSet, Action
tool_set = ComposioToolSet()
tools = tool_set.get_tools(actions=[Action.GITHUB_GET_TEAMS_WITH_ACCESS_TO_THE_PROTECTED_BRANCH])
ADD TEAM ACCESS RESTRICTIONS
Protected branches are accessible in both free and paid GitHub plans, including
public and private repositories. They allow granting push access to specific
teams, including child teams. For m
from composio_crewai import ComposioToolSet, Action
tool_set = ComposioToolSet()
tools = tool_set.get_tools(actions=[Action.GITHUB_ADD_TEAM_ACCESS_RESTRICTIONS])
SET TEAM ACCESS RESTRICTIONS
Protected branches are accessible in various GitHub plans, allowing users
to manage push access. Reassigning push access replaces all previous team
permissions with a new list, including child
from composio_crewai import ComposioToolSet, Action
tool_set = ComposioToolSet()
tools = tool_set.get_tools(actions=[Action.GITHUB_SET_TEAM_ACCESS_RESTRICTIONS])
REMOVE TEAM ACCESS RESTRICTIONS
Protected branches are available in various GitHub plans, including Free
and paid versions. They restrict team push access to specific branches,
with options for managing access levels, includ
from composio_crewai import ComposioToolSet, Action
tool_set = ComposioToolSet()
tools = tool_set.get_tools(actions=[Action.GITHUB_REMOVE_TEAM_ACCESS_RESTRICTIONS])
GET USERS WITH ACCESS TO THE PROTECTED BRANCH
Protected branches are available in public and private repositories across
various GitHub plans, including Free, Pro, Team, and Enterprise versions.
They restrict who can push to the branch. F
from composio_crewai import ComposioToolSet, Action
tool_set = ComposioToolSet()
tools = tool_set.get_tools(actions=[Action.GITHUB_GET_USERS_WITH_ACCESS_TO_THE_PROTECTED_BRANCH])
ADD USER ACCESS RESTRICTIONS
Protected branches are accessible in both public and private repositories
across various GitHub plans, including GitHub Free and paid accounts. They
allow specific users to have push access, w
from composio_crewai import ComposioToolSet, Action
tool_set = ComposioToolSet()
tools = tool_set.get_tools(actions=[Action.GITHUB_ADD_USER_ACCESS_RESTRICTIONS])
SET USER ACCESS RESTRICTIONS
Protected branches are accessible in both free and paid GitHub plans, including
private repositories for paid plans. They allow specifying a limited list
of users (up to 100) who can push, rep
from composio_crewai import ComposioToolSet, Action
tool_set = ComposioToolSet()
tools = tool_set.get_tools(actions=[Action.GITHUB_SET_USER_ACCESS_RESTRICTIONS])
REMOVE USER ACCESS RESTRICTIONS
Protected branches in GitHub restrict push access in public and private
repositories, allowing only certain users with a total limit of 100 items,
including users, apps, and teams. See GitHub'
from composio_crewai import ComposioToolSet, Action
tool_set = ComposioToolSet()
tools = tool_set.get_tools(actions=[Action.GITHUB_REMOVE_USER_ACCESS_RESTRICTIONS])
RENAME A BRANCH
Renames a branch in a repository; process may not be instant and pushing
to the old name is disabled during this. User needs push access, and additional
admin or owner permissions for default
from composio_crewai import ComposioToolSet, Action
tool_set = ComposioToolSet()
tools = tool_set.get_tools(actions=[Action.GITHUB_RENAME_A_BRANCH])