step-security/Pull Request Comment Trigger
Monitors pull request descriptions and comments for specific trigger phrases, enabling conditional workflow execution based on comment content.
View on GitHubTrust Signals
- Scorecard Score
- not yet scored
- Maintenance Recency
- Stale
- License
- None
Inputs
| name | description | required | default |
|---|---|---|---|
| reaction | Optional emoji reaction to add to the comment when a trigger is detected. Must be a valid GitHub reaction type such as 'rocket', 'eyes', 'thumbs_up', or 'heart'. | no | "" |
| trigger | The trigger phrase to search for in pull request descriptions and comments. Can be any text string like "@deploy", "#run-tests", or "build staging". | yes | — |
| prefix_only | When set to 'true', the trigger phrase must appear at the beginning of the comment. When 'false', the trigger can appear anywhere in the comment text. | no | false |
Outputs
| name | description |
|---|---|
| triggered | String value 'true' if the trigger phrase was found in the comment or PR description, 'false' otherwise. |
| comment_body | The full text content of the comment or pull request description that was analyzed for triggers. |