Skip to content

Commit 77c52ba

Browse files
authored
chore(readme): update readme (#1)
1 parent 9281506 commit 77c52ba

1 file changed

Lines changed: 12 additions & 11 deletions

File tree

Readme.md

Lines changed: 12 additions & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -7,6 +7,7 @@ Look for a "trigger word" in a pull-request description or comment, so that late
77
## Example usage in a workflow
88

99
Your workflow needs to listen to the following events:
10+
1011
```
1112
on:
1213
pull_request:
@@ -22,7 +23,8 @@ jobs:
2223
deploy:
2324
runs-on: ubuntu-latest
2425
steps:
25-
- uses: khan/pull-request-comment-trigger@v1.1.0
26+
- name: Pull Request Trigger on Comment
27+
uses: segmentJason/pull-request-comment-trigger@v1.1.0
2628
id: check
2729
with:
2830
trigger: '@deploy'
@@ -38,16 +40,15 @@ And if you specify a reaction, you have to provide the `GITHUB_TOKEN` env vbl.
3840

3941
## Inputs
4042

41-
| Input | Required? | Description |
42-
| ----- | --------- | ----------- |
43-
| trigger | Yes | The string to look for in pull-request descriptions and comments. For example "#build/android". |
44-
| prefix_only | No (default 'false') | If 'true', the trigger must match the start of the comment. |
45-
| reaction | No (default '') | If set, the specified emoji "reaction" is put on the comment to indicate that the trigger was detected. For example, "rocket". |
46-
43+
| Input | Required? | Description |
44+
| ----------- | -------------------- | ------------------------------------------------------------------------------------------------------------------------------ |
45+
| trigger | Yes | The string to look for in pull-request descriptions and comments. For example "#build/android". |
46+
| prefix_only | No (default 'false') | If 'true', the trigger must match the start of the comment. |
47+
| reaction | No (default '') | If set, the specified emoji "reaction" is put on the comment to indicate that the trigger was detected. For example, "rocket". |
4748

4849
## Outputs
4950

50-
| Output | Description |
51-
| ------ | ----------- |
52-
| triggered | 'true' or 'false' depending on if the trigger phrase was found. |
53-
| comment_body | The comment body. |
51+
| Output | Description |
52+
| ------------ | --------------------------------------------------------------- |
53+
| triggered | 'true' or 'false' depending on if the trigger phrase was found. |
54+
| comment_body | The comment body. |

0 commit comments

Comments
 (0)