Adds a GitHub user to a team or updates their role (member or maintainer), inviting them to the organization if not already a member; idempotent, returning current details if no change is made.
orgRequiredstringThe name of the GitHub organization. This name is not case-sensitive.
rolestringThe role to assign to the user within the team. A 'maintainer' has broader permissions than a 'member', such as managing team members and settings.
usernameRequiredstringThe GitHub username of the user to add or whose membership to update.
team_slugRequiredstringThe slug (URL-friendly version) of the team's name. Must be lowercase with hyphens instead of spaces (e.g., 'my-team' not 'My Team'). Spaces will be automatically converted to hyphens and text will be lowercased.
dataRequiredData from the action execution
errorstringError if any occurred during the execution of the action
successfulRequiredbooleanWhether or not the action execution was successful or not
OAuth connection. Risk level 2 of 5.
Free Action
No published Skills explicitly reference this Action yet.