lee-lott-actions/Add Member to Team
Adds a GitHub user to a specified team in an organization with a given role using the GitHub API.
View on GitHubTrust Signals
- Scorecard Score
- not yet scored
- Maintenance Recency
- Stale
- License
- None
Inputs
| name | description | required | default |
|---|---|---|---|
| member-name | The slugified username of the member to add (e.g., "john-doe") | yes | — |
| team-name | The slugified name of the team (e.g., "code-approvers") | yes | — |
| role | The role to assign to the member ("member" or "maintainer") | yes | member |
| token | GitHub token with organization admin permissions | yes | — |
| owner | The owner of the organization (user or organization) | yes | — |
Outputs
| name | description |
|---|---|
| result | Result of the add member operation ("success" or "failure") |
| error-message | Error message if the add member operation fails |