aasmal97/Authorized Github User
Execute steps in a GitHub Action only if the (triggering) actor is authorized to do so.
View on GitHubTrust Signals
- Scorecard Score
- not yet scored
- Maintenance Recency
- Stalelast commit Jun 18, 2024
- License
- MIT
Pinned Snippet
uses: aasmal97/authorizedgithubuser@fd320f91763d8dffeb3ba861928481fb88904b3f # v1.0.0tags can be moved; commit SHAs can't. why a SHA?
Inputs
| name | description | required | default |
|---|---|---|---|
| githubOrg | GitHub organization name, that you want to use to control access | no | — |
| githubToken | GitHub access token with `repo` scope | no | — |
| actor | Provide the current actor of the workflow. By default it is the value of env.GITHUB_ACTOR | no | — |
| authorizedGroups | Array of groups, i.e owners, admins, etc, managed as a Github Secret to allow only Repository Owners/Admins to change the values | no | — |
| authorizedActors | Array of authorised actors, best managed as a GitHub Secret to allow only Repository Owners/Admins to change the values. | no | — |
| failSilently | Whether or not the GitHub action should exit with status code 1 or not. | no | — |
| failureMessage | Message to display in the GitHub Action logs when authorised actor check fails. | no | — |
Outputs
no outputs