Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
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@v4
uses: peter-evans/create-or-update-comment@v5
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@v4
uses: peter-evans/create-or-update-comment@v5
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@v4
uses: peter-evans/create-or-update-comment@v5
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@v4
uses: peter-evans/create-or-update-comment@v5
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@v4
uses: peter-evans/create-or-update-comment@v5
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@v4
uses: peter-evans/create-or-update-comment@v5
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@v4
uses: peter-evans/create-or-update-comment@v5
if: failure()
with:
comment-id: ${{ github.event.client_payload.github.payload.comment.id }}
Expand Down
Loading