morfien101/Authorized User Check

Checks if a user or users is whitelisted or a member of a team.

View on GitHub

Trust Signals

Scorecard Score
not yet scored
Maintenance Recency
Stalelast commit Dec 29, 2023
License
Apache 2.0

Pinned Snippet

workflow.ymlSHA-pinned
uses: morfien101/actions-authorized-user@4a3cfbf0bcb3cafe4a71710a278920c5d94bb38b # v3

tags can be moved; commit SHAs can't. why a SHA?

namedescriptionrequireddefault
usernameThe username or list of usernames to checkyes
teamThe team name to checkyes
orgThe organization to checkyes
whitelistThe whitelist of users to allow. Comma separated list.yes
github_tokenThe github token to use. Must have at least 'org:read' scope.yes
multi_userIf true will check all users supplied in a list. Output will be a list ordered by the order of the input.nofalse
multi_delimiterThe delimiter to use for the multi_user input.no,
namedescription
team_memberIs the user a member of the team? False if whitelisted as whitelisting takes priority.
whitelistedIs the user whitelisted?
authorizedIs the user part of the whitelist or team?