Update readme

This commit is contained in:
Peter Evans 2022-03-22 16:43:29 +09:00
parent fb683dc186
commit 704bc87a2d

View File

@ -109,7 +109,7 @@ If the find-comment action output `comment-id` returns an empty string, a new co
If it returns a value, the comment already exists and the content is replaced. If it returns a value, the comment already exists and the content is replaced.
```yml ```yml
- name: Find Comment - name: Find Comment
uses: peter-evans/find-comment@v1 uses: peter-evans/find-comment@v2
id: fc id: fc
with: with:
issue-number: ${{ github.event.pull_request.number }} issue-number: ${{ github.event.pull_request.number }}
@ -130,7 +130,7 @@ If it returns a value, the comment already exists and the content is replaced.
If required, the create and update steps can be separated for greater control. If required, the create and update steps can be separated for greater control.
```yml ```yml
- name: Find Comment - name: Find Comment
uses: peter-evans/find-comment@v1 uses: peter-evans/find-comment@v2
id: fc id: fc
with: with:
issue-number: ${{ github.event.pull_request.number }} issue-number: ${{ github.event.pull_request.number }}
@ -189,7 +189,7 @@ The template is rendered using the [render-template](https://github.com/chuhlomi
```yml ```yml
- name: Render template - name: Render template
id: template id: template
uses: chuhlomin/render-template@v1.2 uses: chuhlomin/render-template@v1.4
with: with:
template: .github/comment-template.md template: .github/comment-template.md
vars: | vars: |