aasmal97/Authorized Github User

Execute steps in a GitHub Action only if the (triggering) actor is authorized to do so.

View on GitHub

Trust Signals

Scorecard Score
not yet scored
Maintenance Recency
Stalelast commit Jun 18, 2024
License
MIT

Pinned Snippet

workflow.ymlSHA-pinned
uses: aasmal97/authorizedgithubuser@fd320f91763d8dffeb3ba861928481fb88904b3f # v1.0.0

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

namedescriptionrequireddefault
githubOrgGitHub organization name, that you want to use to control accessno
githubTokenGitHub access token with `repo` scopeno
actorProvide the current actor of the workflow. By default it is the value of env.GITHUB_ACTORno
authorizedGroupsArray of groups, i.e owners, admins, etc, managed as a Github Secret to allow only Repository Owners/Admins to change the valuesno
authorizedActorsArray of authorised actors, best managed as a GitHub Secret to allow only Repository Owners/Admins to change the values.no
failSilentlyWhether or not the GitHub action should exit with status code 1 or not.no
failureMessageMessage to display in the GitHub Action logs when authorised actor check fails.no

no outputs