natterstefan/authorised-actor
Execute a GitHub Action only if the (triggering) actor is authorised to do so.
View on GitHubTrust Signals
- Scorecard Score
- not yet scored
- Maintenance Recency
- Stale
- License
- None
- Runtime
- Deprecated runtime
Inputs
| name | description | required | default |
|---|---|---|---|
| actor | Provide the current actor of the workflow. By default it is the value of env.GITHUB_ACTOR | no | — |
| authorisedActors | Array of authorised actors, best managed as a GitHub Secret to allow only Repository owners to change the values. | yes | — |
| 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