smartlyio/Pull Request Comment Trigger
Look for a "trigger word" in a pull-request description or comment, so that later steps can know whether or not to run.
View on GitHubTrust Signals
- Scorecard Score
- not yet scored
- Maintenance Recency
- Stale
- License
- None
Inputs
| name | description | required | default |
|---|---|---|---|
| reaction | If set, the specified emoji "reaction" is put on the comment to indicate that the trigger was detected. For example, "rocket". | no | "" |
| trigger | The string to look for in pull-request descriptions and comments. For example "#build/android" | yes | — |
| prefix_only | If 'true', the trigger must match the start of the comment. | no | false |
Outputs
| name | description |
|---|---|
| triggered | the string 'true' if the trigger was found, otherwise the string 'false' |
| comment_body | The comment body. |