Skip to content

Commit f3bbb83

Browse files
committed
Update README.md
1 parent b503c99 commit f3bbb83

File tree

1 file changed

+8
-8
lines changed

1 file changed

+8
-8
lines changed

README.md

Lines changed: 8 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@ Create comment on pull request, if exists update that comment.
77
### Basic
88

99
```yaml
10-
uses: marocchino/sticky-pull-request-comment@v1
10+
uses: marocchino/sticky-pull-request-comment@v2
1111
with:
1212
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
1313
message: |
@@ -21,7 +21,7 @@ In some cases, different actions may require different comments. The header allo
2121
```yaml
2222
release:
2323
...
24-
- uses: marocchino/sticky-pull-request-comment@v1
24+
- uses: marocchino/sticky-pull-request-comment@v2
2525
with:
2626
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
2727
header: release
@@ -38,7 +38,7 @@ test:
3838
OUTPUT="${OUTPUT//$'\n'/'%0A'}"
3939
OUTPUT="${OUTPUT//$'\r'/'%0D'}"
4040
echo "::set-output name=result::$OUTPUT"
41-
- uses: marocchino/sticky-pull-request-comment@v1
41+
- uses: marocchino/sticky-pull-request-comment@v2
4242
with:
4343
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
4444
header: test
@@ -61,7 +61,7 @@ test:
6161
OUTPUT="${OUTPUT//$'\n'/'%0A'}"
6262
OUTPUT="${OUTPUT//$'\r'/'%0D'}"
6363
echo "::set-output name=result::$OUTPUT"
64-
- uses: marocchino/sticky-pull-request-comment@v1
64+
- uses: marocchino/sticky-pull-request-comment@v2
6565
with:
6666
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
6767
append: true
@@ -81,7 +81,7 @@ If for some reason, triggering on pr is not possible, you can use push.
8181
id: finder
8282
with:
8383
github-token: ${{ secrets.GITHUB_TOKEN }}
84-
- uses: marocchino/sticky-pull-request-comment@v1
84+
- uses: marocchino/sticky-pull-request-comment@v2
8585
with:
8686
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
8787
number: ${{ steps.finder.outputs.pr }}
@@ -93,7 +93,7 @@ with:
9393
### Read comment from a file
9494
9595
```yaml
96-
uses: marocchino/sticky-pull-request-comment@v1
96+
uses: marocchino/sticky-pull-request-comment@v2
9797
with:
9898
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
9999
path: path-to-comment-contents.txt
@@ -102,7 +102,7 @@ with:
102102
### Delete previous commit and add comment at bottom
103103
104104
```yaml
105-
uses: marocchino/sticky-pull-request-comment@v1
105+
uses: marocchino/sticky-pull-request-comment@v2
106106
with:
107107
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
108108
recreate: true
@@ -113,7 +113,7 @@ with:
113113
### Delete previous commit
114114
115115
```yaml
116-
uses: marocchino/sticky-pull-request-comment@v1
116+
uses: marocchino/sticky-pull-request-comment@v2
117117
with:
118118
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
119119
delete: true

0 commit comments

Comments
 (0)