lee-lott-actions/Check Team Membership
A GitHub Action to check if a user is a member of a specified team in an organization using the GitHub API
View on GitHubTrust Signals
- Scorecard Score
- not yet scored
- Maintenance Recency
- Stale
- License
- None
Inputs
| name | description | required | default |
|---|---|---|---|
| user | The GitHub username to check for team membership | yes | — |
| team-slug | The slug of the team to check membership against | yes | — |
| token | GitHub token with organization read access | yes | — |
| owner | The owner of the organization (user or organization) | yes | — |
Outputs
| name | description |
|---|---|
| result | Result of the action ("success" or "failure") |
| is-member | Boolean indicating if the user is a member of the team (true for HTTP 200, false otherwise) |
| error-message | Error message if the user is not a member of the team |