tipascoa-test/login-teams-membership
Get a user teams membership in an organization
View on GitHubTrust Signals
- Scorecard Score
- not yet scored
- Maintenance Recency
- Stale
- License
- None
- Runtime
- Deprecated runtime
Inputs
| name | description | required | default |
|---|---|---|---|
| organization | Organization name (default is repo owner) | no | ${{ github.repository_owner }} |
| username | Username to get teams or check team membership | yes | — |
| team | If you specify a team name it will output if the user is a member of that team (case insensitive) | no | "" |
| GITHUB_TOKEN | GITHUB_TOKEN | yes | — |
Outputs
| name | description |
|---|---|
| teams | The list of teams the user belongs (array) |
| isTeamMember | Predicate to indicate if user belongs to team |