You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
name: "Create or update comment"description: "Action to create or update comment in pull request or issue"author: Hoverkraftbranding:
icon: message-squarecolor: gray-darkinputs:
title:
description: "The comment title. Must be static and unique, will be used to retrieve the comment if exists already."required: truebody:
description: "The comment body. See [https://github.com/peter-evans/create-or-update-comment](https://github.com/peter-evans/create-or-update-comment)"required: falsereactions:
description: "A comma separated list of reactions to add to the comment. See [https://github.com/peter-evans/create-or-update-comment](https://github.com/peter-evans/create-or-update-comment)"required: falseruns:
using: "composite"steps:
- shell: bash# FIXME: workaround until will be merged: https://github.com/actions/runner/pull/1684run: | [ -d ./self-actions ] || (mkdir -p ./self-actions/ && cp -r $GITHUB_ACTION_PATH/../* ./self-actions/)
- id: get-issue-numberuses: ./self-actions/get-issue-number
- shell: bash# FIXME: workaround until will be merged: https://github.com/actions/runner/pull/1684run: | rm -fr ./self-actions
- uses: peter-evans/find-comment@v2id: find-commentwith:
issue-number: ${{ steps.get-issue-number.outputs.issue-number }}comment-author: github-actions[bot]body-includes: ${{ inputs.title }}
- uses: peter-evans/create-or-update-comment@v3with:
edit-mode: replacecomment-id: ${{ steps.find-comment.outputs.comment-id }}issue-number: ${{ steps.get-issue-number.outputs.issue-number }}body: | ${{ inputs.title }} ${{ inputs.body }}reactions: ${{ inputs.reactions }}
The text was updated successfully, but these errors were encountered:
Tasks
https://api.github.com/hoverkraft-tech/ci-github-common/blob/31ca94a6a841f74bb795817a3ae58210e00fd1c2/actions/create-or-update-comment/action.yml#L23
The text was updated successfully, but these errors were encountered: