Skip to content

Commit bb8057d

Browse files
committedFeb 27, 2019
update readme
1 parent 157f1a8 commit bb8057d

File tree

1 file changed

+3
-2
lines changed

1 file changed

+3
-2
lines changed
 

‎README.md

+3-2
Original file line numberDiff line numberDiff line change
@@ -1,15 +1,16 @@
11
# Jira Comment
22
Add a comment to an issue
33

4+
Requires [Jira Login Action](https://github.com/marketplace/actions/jira-login)
45

56
## Usage
67
To add comment to an issue you need to specify an issue key and a comment in action args, like:
78

89
`"Hello from GitHub actions" --issue=INC-2`
910

10-
You can interpolate fields from GitHub event which triggered the workflow into a comment body. For example, you can specify pusher name in comment body by including `pusher.name` field from [push](https://developer.github.com/v3/activity/events/types/#pushevent) event:
11+
You can interpolate fields from GitHub event which triggered the workflow into a comment body. For example, you can specify pusher name in comment body by including `event.pusher.name` field from [push](https://developer.github.com/v3/activity/events/types/#pushevent) event:
1112

12-
"{{ pusher.name }} pushed to repository: {{ repository.full_name }}"
13+
"{{ event.pusher.name }} pushed to repository: {{ event.repository.full_name }}"
1314

1415
Which will result in comment:
1516

0 commit comments

Comments
 (0)
Failed to load comments.