Skip to content

Commit

Permalink
build(deps): bump peter-evans/create-or-update-comment from 2 to 3
Browse files Browse the repository at this point in the history
Bumps [peter-evans/create-or-update-comment](https://github.com/peter-evans/create-or-update-comment) from 2 to 3.
- [Release notes](https://github.com/peter-evans/create-or-update-comment/releases)
- [Commits](peter-evans/create-or-update-comment@v2...v3)

---
updated-dependencies:
- dependency-name: peter-evans/create-or-update-comment
  dependency-type: direct:production
  update-type: version-update:semver-major
...

Signed-off-by: dependabot[bot] <support@github.com>
  • Loading branch information
dependabot[bot] authored and amis92 committed May 18, 2023
1 parent 97a8b21 commit e9a93a2
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 7 deletions.
8 changes: 4 additions & 4 deletions .github/workflows/demo-command.yml
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@ jobs:
runs-on: ubuntu-latest
steps:
- name: Add run link to command comment
uses: peter-evans/create-or-update-comment@v2
uses: peter-evans/create-or-update-comment@v3
with:
comment-id: ${{ github.event.client_payload.github.payload.comment.id }}
body: "[Workflow run](https://github.com/${{ github.repository }}/actions/runs/${{ github.run_id }})"
Expand Down Expand Up @@ -63,7 +63,7 @@ jobs:
}
return $result
- name: Comment with script result in code fence
uses: peter-evans/create-or-update-comment@v2
uses: peter-evans/create-or-update-comment@v3
if: always()
with:
issue-number: ${{ github.event.client_payload.github.payload.issue.number }}
Expand All @@ -77,12 +77,12 @@ jobs:
${{ steps.user-script.outputs.error }}
```
- name: Add reaction to command comment on success
uses: peter-evans/create-or-update-comment@v2
uses: peter-evans/create-or-update-comment@v3
with:
comment-id: ${{ github.event.client_payload.github.payload.comment.id }}
reactions: hooray
- name: Add reaction to command comment on failure
uses: peter-evans/create-or-update-comment@v2
uses: peter-evans/create-or-update-comment@v3
if: failure()
with:
comment-id: ${{ github.event.client_payload.github.payload.comment.id }}
Expand Down
6 changes: 3 additions & 3 deletions .github/workflows/tag-command.yml
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@ jobs:
tag_name: ${{ github.event.client_payload.slash_command.args.unnamed.arg1 }}
steps:
- name: Add run link to command comment
uses: peter-evans/create-or-update-comment@v2
uses: peter-evans/create-or-update-comment@v3
with:
comment-id: ${{ github.event.client_payload.github.payload.comment.id }}
body: "[Workflow run](https://github.com/${{ github.repository }}/actions/runs/${{ github.run_id }})"
Expand All @@ -33,7 +33,7 @@ jobs:
git tag $tag $force || $(throw "git tag $tag $force failed.")
git push origin $tag $force || $(throw "git push origin $tag $force failed.")
- name: Add tag info and reaction to command comment
uses: peter-evans/create-or-update-comment@v2
uses: peter-evans/create-or-update-comment@v3
with:
comment-id: ${{ github.event.client_payload.github.payload.comment.id }}
body: |
Expand All @@ -42,7 +42,7 @@ jobs:
[tag]: https://github.com/${{ github.repository }}/tree/${{ env.tag_name }}
reactions: hooray
- name: Add reaction to command comment on failure
uses: peter-evans/create-or-update-comment@v2
uses: peter-evans/create-or-update-comment@v3
if: failure()
with:
comment-id: ${{ github.event.client_payload.github.payload.comment.id }}
Expand Down

0 comments on commit e9a93a2

Please sign in to comment.