Skip to content

Commit

Permalink
fix: bump peter-evans/create-or-update-comment (#12)
Browse files Browse the repository at this point in the history
* [fix] bump peter-evans/create-or-update-comment to fix deprecated set-output usage

* fix: downgrade to v2.1.1
  • Loading branch information
kx9x authored May 18, 2023
1 parent 8842f61 commit d8a5fe4
Show file tree
Hide file tree
Showing 2 changed files with 11 additions and 11 deletions.
20 changes: 10 additions & 10 deletions .github/workflows/roboanimals-workflow.yml
Original file line number Diff line number Diff line change
Expand Up @@ -116,7 +116,7 @@ jobs:

- name: Edit comment with link to run
if: ${{ inputs.from_pr == 'true' }}
uses: peter-evans/create-or-update-comment@v1
uses: peter-evans/create-or-update-comment@v2.1.1
with:
comment-id: ${{ inputs.comment-id }}
body: |
Expand Down Expand Up @@ -188,7 +188,7 @@ jobs:

- name: Fail on no reviews
if: ${{ inputs.check_reviews == 'true' && failure() }}
uses: peter-evans/create-or-update-comment@v1
uses: peter-evans/create-or-update-comment@v2.1.1
with:
comment-id: ${{ inputs.comment-id }}
body: |
Expand All @@ -214,7 +214,7 @@ jobs:
- name: Grab lock message
if: ${{ inputs.from_pr == 'true' && inputs.send == 'true' }}
uses: peter-evans/create-or-update-comment@v1
uses: peter-evans/create-or-update-comment@v2.1.1
with:
comment-id: ${{ inputs.comment-id }}
body: |
Expand All @@ -228,7 +228,7 @@ jobs:

- name: Grabbed lock message
if: ${{ inputs.from_pr == 'true' && inputs.send == 'true' }}
uses: peter-evans/create-or-update-comment@v1
uses: peter-evans/create-or-update-comment@v2.1.1
with:
comment-id: ${{ inputs.comment-id }}
body: |
Expand Down Expand Up @@ -298,7 +298,7 @@ jobs:
- name: Nonce fail check, add comment
if: inputs.send == 'true' && env.NONCE == ''
uses: peter-evans/create-or-update-comment@v1
uses: peter-evans/create-or-update-comment@v2.1.1
with:
comment-id: ${{ inputs.comment-id }}
body: |
Expand All @@ -319,7 +319,7 @@ jobs:
- name: Safe url check, add comment
if: inputs.send == 'true' && env.SAFE_LINK == ''
uses: peter-evans/create-or-update-comment@v1
uses: peter-evans/create-or-update-comment@v2.1.1
with:
comment-id: ${{ inputs.comment-id }}
body: |
Expand Down Expand Up @@ -352,7 +352,7 @@ jobs:

- name: Edit comment with error message
if: ${{ failure() && inputs.from_pr == 'true' }}
uses: peter-evans/create-or-update-comment@v1
uses: peter-evans/create-or-update-comment@v2.1.1
with:
comment-id: ${{ inputs.comment-id }}
body: |
Expand All @@ -370,7 +370,7 @@ jobs:
- name: Edit comment with dry run message
if: ${{ inputs.send == 'false' && inputs.from_pr == 'true'}}
uses: peter-evans/create-or-update-comment@v1
uses: peter-evans/create-or-update-comment@v2.1.1
with:
comment-id: ${{ inputs.comment-id }}
body: |
Expand Down Expand Up @@ -432,7 +432,7 @@ jobs:

- name: Edit comment with full run message
if: ${{ inputs.send == 'true' && inputs.from_pr == 'true' }}
uses: peter-evans/create-or-update-comment@v1
uses: peter-evans/create-or-update-comment@v2.1.1
with:
comment-id: ${{ inputs.comment-id }}
body: |
Expand Down Expand Up @@ -473,7 +473,7 @@ jobs:

- name: Add reaction
if: ${{ inputs.from_pr == 'true' }}
uses: peter-evans/create-or-update-comment@v1
uses: peter-evans/create-or-update-comment@v2.1.1
with:
comment-id: ${{ inputs.comment-id }}
reaction-type: hooray
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/shame-workflow.yml
Original file line number Diff line number Diff line change
Expand Up @@ -108,7 +108,7 @@ jobs:
${{ steps.alert.outputs.content }}
- name: Add reaction
uses: peter-evans/create-or-update-comment@v1
uses: peter-evans/create-or-update-comment@v2.1.1
with:
token: ${{ secrets.GITHUB_TOKEN }}
repository: ${{ inputs.GITHUB_REPOSITORY }}
Expand Down

0 comments on commit d8a5fe4

Please sign in to comment.