Files
dependabot[bot]anddependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com> 6b65298e27 build(deps): bump actions/checkout in the github-actions group (#463)
Bumps the github-actions group with 1 update: [actions/checkout](https://github.com/actions/checkout).


Updates `actions/checkout` from 6 to 7
- [Release notes](https://github.com/actions/checkout/releases)
- [Changelog](https://github.com/actions/checkout/blob/main/CHANGELOG.md)
- [Commits](https://github.com/actions/checkout/compare/v6...v7)

---
updated-dependencies:
- dependency-name: actions/checkout
  dependency-version: '7'
  dependency-type: direct:production
  update-type: version-update:semver-major
  dependency-group: github-actions
...

Signed-off-by: dependabot[bot] <[email protected]>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2026-07-01 05:23:28 +00:00

67 lines
1.9 KiB
YAML

name: Test v3
on: workflow_dispatch
jobs:
testCreateOrUpdateComment:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v7
# Test create
- name: Create comment
uses: peter-evans/create-or-update-comment@v5
id: couc
with:
token: ${{ secrets.ACTIONS_BOT_TOKEN }}
issue-number: 1
body: |
This is a multi-line test comment
- With GitHub **Markdown** :sparkles:
- Created by [create-or-update-comment][1]
[1]: https://github.com/peter-evans/create-or-update-comment
reactions: '+1'
# Test update
- name: Update comment
uses: peter-evans/create-or-update-comment@v5
with:
token: ${{ secrets.ACTIONS_BOT_TOKEN }}
comment-id: ${{ steps.couc.outputs.comment-id }}
body: |
**Edit:** Some additional info
reactions: eyes
reactions-edit-mode: replace
# Test add reactions
- name: Add reactions
uses: peter-evans/create-or-update-comment@v5
with:
token: ${{ secrets.ACTIONS_BOT_TOKEN }}
comment-id: ${{ steps.couc.outputs.comment-id }}
reactions: heart, hooray, laugh
# Test create with body from file
- name: Create comment
uses: peter-evans/create-or-update-comment@v5
with:
token: ${{ secrets.ACTIONS_BOT_TOKEN }}
issue-number: 1
body-file: .github/comment-body.md
# Test create from template
- name: Render template
id: template
uses: chuhlomin/[email protected]
with:
template: .github/comment-template.md
vars: |
foo: this
bar: that
- name: Create comment
uses: peter-evans/create-or-update-comment@v5
with:
token: ${{ secrets.ACTIONS_BOT_TOKEN }}
issue-number: 1
body: ${{ steps.template.outputs.result }}