cnunciato/Check Repo Permissions
Get the repository permissions of the GitHub user who triggered the current workflow.
View on GitHubTrust Signals
- Scorecard Score
- not yet scored
- Maintenance Recency
- Stale
- License
- None
- Runtime
- Deprecated runtime
Inputs
| name | description | required | default |
|---|---|---|---|
| token | The GitHub token. | yes | — |
Outputs
| name | description |
|---|---|
| permission | The user's permissions for this repo. On error, returns `none`. |
| has-write | Whether the user's permissions grant write access to the repository. |