This GitHub action restricts the build from continuing to execution unless the author of the commit/pull request is among a list of approved users.
Example: Only repo owner can execute builds. Orgs and teams not supported yet.
- uses: InstaCode/[email protected]
Example: Repo Owner is assumed permitted with one additional user.
- uses: InstaCode/[email protected]
with:
users: dependabot-preview
Example: Repo Owner is held to strict rules and must be listed in
- uses: InstaCode/[email protected]
with:
users: fake-user, dependabot-preview
strict: true
The users
property accepts a comma delimited list of valid github usernames that will be trimmed during processing.