Skip to content

Commit

Permalink
revert auto-formatting
Browse files Browse the repository at this point in the history
  • Loading branch information
shanegenschaw committed Aug 7, 2023
1 parent 2171a58 commit ae76333
Show file tree
Hide file tree
Showing 2 changed files with 15 additions and 14 deletions.
23 changes: 12 additions & 11 deletions Readme.md
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,6 @@ See the upstream pull request [`chore: GitHub upgrades` #46](https://github.com/
## Example usage in a workflow

Your workflow needs to listen to the following events:

```
on:
pull_request:
Expand Down Expand Up @@ -65,16 +64,18 @@ And if you specify a reaction, you have to provide the `GITHUB_TOKEN` env vbl.

## Inputs

| Input | Required? | Description |
| --------------- | -------------------- | ---------------------------------------------------------------------------------------------------------------------------------------------- |
| trigger | Yes | The string to look for in pull-request descriptions and comments. The trigger should be placed at the beginning. For example "#build/android". |
| reaction | No (default '') | If set, the specified emoji "reaction" is put on the comment to indicate that the trigger was detected. For example, "rocket". |
| allow_arguments | No (default 'false') | If 'true', script looks for `**` markers that are considered as comment arguments. |
| Input | Required? | Description |
| ----- | --------- | ----------- |
| trigger | Yes | The string to look for in pull-request descriptions and comments. For example "#build/android". |
| prefix_only | No (default 'false') | If 'true', the trigger must match the start of the comment. |
| reaction | No (default '') | If set, the specified emoji "reaction" is put on the comment to indicate that the trigger was detected. For example, "rocket". |
| allow_arguments | No (default 'false') | If 'true', script looks for `**` markers that are considered as comment arguments. |


## Outputs

| Output | Description |
| ------------ | --------------------------------------------------------------- |
| triggered | 'true' or 'false' depending on if the trigger phrase was found. |
| comment_body | The comment body. |
| arguments | The comment arguments. |
| Output | Description |
| ------ | ----------- |
| triggered | 'true' or 'false' depending on if the trigger phrase was found. |
| comment_body | The comment body. |
| arguments | The comment arguments. |
6 changes: 3 additions & 3 deletions action.yml
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
name: "Pull Request Comment Trigger fork"
name: 'Pull Request Comment Trigger fork'
description: 'Look for a "trigger word" in a pull-request description or comment, so that later steps can know whether or not to run.'
inputs:
reaction:
Expand All @@ -18,8 +18,8 @@ outputs:
comment_body:
description: The comment body.
runs:
using: "node16"
main: "dist/index.js"
using: 'node16'
main: 'dist/index.js'
branding:
icon: check-circle
color: red

0 comments on commit ae76333

Please sign in to comment.