tobked/Set Label When Approved
Set label when PR is approved.
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 secret of the repository | yes | — |
| label | A label to be checked/added/removed | no | — |
| require_committers_approval | Is approval from person with write access to repo required | no | — |
| remove_label_when_approval_missing | Should label be removed when approval is missing | no | — |
| comment | Comment to be added to Pull Request if approved | no | — |
| pullRequestNumber | Pull request number if triggered by "worfklow_run" | no | — |
Outputs
| name | description |
|---|---|
| isApproved | Is Pull Request approved |
| labelSet | Was label set |
| labelRemoved | Was label removed |