mirror of
https://github.com/peter-evans/create-or-update-comment.git
synced 2025-03-14 00:30:10 +08:00
Update readme
This commit is contained in:
parent
fb683dc186
commit
704bc87a2d
@ -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: |
|
||||||
|
Loading…
x
Reference in New Issue
Block a user