@@ -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
1111with :
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
2222release :
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
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
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.
8181id : finder
8282with :
8383 github-token : ${{ secrets.GITHUB_TOKEN }}
84- - uses : marocchino/sticky-pull-request-comment@v1
84+ - uses : marocchino/sticky-pull-request-comment@v2
8585with :
8686 GITHUB_TOKEN : ${{ secrets.GITHUB_TOKEN }}
8787 number : ${{ steps.finder.outputs.pr }}
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
9797with :
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
106106with :
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
117117with :
118118 GITHUB_TOKEN : ${{ secrets.GITHUB_TOKEN }}
119119 delete : true
0 commit comments