morfien101/Authorized User Check
Checks if a user or users is whitelisted or a member of a team.
View on GitHubTrust Signals
- Scorecard Score
- not yet scored
- Maintenance Recency
- Stalelast commit Dec 29, 2023
- License
- Apache 2.0
Pinned Snippet
uses: morfien101/actions-authorized-user@4a3cfbf0bcb3cafe4a71710a278920c5d94bb38b # v3tags can be moved; commit SHAs can't. why a SHA?
Inputs
| name | description | required | default |
|---|---|---|---|
| username | The username or list of usernames to check | yes | — |
| team | The team name to check | yes | — |
| org | The organization to check | yes | — |
| whitelist | The whitelist of users to allow. Comma separated list. | yes | — |
| github_token | The github token to use. Must have at least 'org:read' scope. | yes | — |
| multi_user | If true will check all users supplied in a list. Output will be a list ordered by the order of the input. | no | false |
| multi_delimiter | The delimiter to use for the multi_user input. | no | , |
Outputs
| name | description |
|---|---|
| team_member | Is the user a member of the team? False if whitelisted as whitelisting takes priority. |
| whitelisted | Is the user whitelisted? |
| authorized | Is the user part of the whitelist or team? |