mirror of
https://github.com/peter-evans/create-or-update-comment.git
synced 2025-01-31 19:56:39 +08:00
Update README.md
Co-authored-by: Peter Evans <18365890+peter-evans@users.noreply.github.com>
This commit is contained in:
parent
08f8c2cea3
commit
51c15391ae
@ -100,9 +100,10 @@ jobs:
|
|||||||
```
|
```
|
||||||
|
|
||||||
Some use cases might find the [find-comment](https://github.com/peter-evans/find-comment) action useful.
|
Some use cases might find the [find-comment](https://github.com/peter-evans/find-comment) action useful.
|
||||||
This will search an issue or pull request for the first comment containing a specified string, and/or by a specified author, e.g. allowing to update a previously created comment.
|
This will search an issue or pull request for the first comment containing a specified string, and/or by a specified author.
|
||||||
See the repository for detailed usage.
|
See the repository for detailed usage.
|
||||||
|
|
||||||
|
In the following example, find-comment is used to determine a comment has already been created on a pull request. In this case, the comment will be updated instead of being created.
|
||||||
```yml
|
```yml
|
||||||
- name: Find Comment
|
- name: Find Comment
|
||||||
uses: peter-evans/find-comment@v1
|
uses: peter-evans/find-comment@v1
|
||||||
|
Loading…
x
Reference in New Issue
Block a user