Skip to content

Commit 6bd8d21

Browse files
authored
Update README.md
1 parent 988a715 commit 6bd8d21

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

README.md

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -28,6 +28,7 @@ is for this action to be triggered by a Github issue comment in order to parse a
2828
The data that was parsed from the JSON or YAML payload as a string. It can be easily converted to JSON using the [fromJSON expression](https://docs.github.com/en/enterprise-cloud@latest/actions/learn-github-actions/expressions#fromjson)
2929

3030
## Example usage
31+
``` yaml
3132
on:
3233
issue_comment:
3334
types: [created]
@@ -48,3 +49,4 @@ jobs:
4849
run: echo ${{ steps.parse.outputs.content }}
4950
- name: Use the output as JSON
5051
run: echo ${{ fromJson(steps.parse.outputs.content).some_key }}
52+
```

0 commit comments

Comments
 (0)