44smkn/Check if user belongs to teams
Check if given user belongs to given teams in an organization
View on GitHubTrust Signals
- Scorecard Score
- not yet scored
- Maintenance Recency
- Stalelast commit Aug 11, 2023
- License
- MIT
- Runtime
- Deprecated runtime
Pinned Snippet
uses: 44smkn/check-teams-user-belongs@3a60b16b6a4a988d8f340bbf31d9d76c1cfa62aa # v1.1.0tags can be moved; commit SHAs can't. why a SHA?
Inputs
| name | description | required | default |
|---|---|---|---|
| username | Username to check belongs | yes | — |
| teams | Teams that you want to check given user belongs | yes | — |
| token | GitHub token to retrieve membership information. | yes | — |
| organization | Organization name to which the team belongs. Since there is a default, this is typically not supplied by the user | no | ${{ github.repository_owner }} |
| failIfUserNotBelongs | If given user does not belong to given teams, set fail status to this action | no | false |
Outputs
| name | description |
|---|---|
| userBelongsToGivenTeams | Whether given user belongs to given teams in an organization |