Update README
This commit is contained in:
@@ -179,6 +179,25 @@ The simplest response is to add a :tada: reaction to the comment.
|
||||
reaction-type: hooray
|
||||
```
|
||||
|
||||
Another option is to reply with a new comment containing a link to the run output.
|
||||
|
||||
```yml
|
||||
- name: Create URL to the run output
|
||||
id: vars
|
||||
run: echo ::set-output name=run-url::https://github.com/$GITHUB_REPOSITORY/actions/runs/$GITHUB_RUN_ID
|
||||
|
||||
- name: Create comment
|
||||
uses: peter-evans/create-or-update-comment@v1
|
||||
with:
|
||||
token: ${{ secrets.REPO_ACCESS_TOKEN }}
|
||||
repository: ${{ github.event.client_payload.github.payload.repository.full_name }}
|
||||
issue-number: ${{ github.event.client_payload.github.payload.issue.number }}
|
||||
body: |
|
||||
[Command run output][1]
|
||||
|
||||
[1]: ${{ steps.vars.outputs.run-url }}
|
||||
```
|
||||
|
||||
## License
|
||||
|
||||
[MIT](LICENSE)
|
||||
|
||||
Reference in New Issue
Block a user