Skip to content

Latest commit

 

History

History
81 lines (64 loc) · 4.6 KB

File metadata and controls

81 lines (64 loc) · 4.6 KB

branding<icon:message-square color:gray-dark> GitHub Action: Create or update comment

Release%20by%20tagRelease%20by%20dateCommitOpen%20IssuesDownloads

Action to create or update comment in pull request or issue

Set permissions to write issues and pull-requests. This is required to write the comment on the PR.

permissions:
  issues: write
  pull-requests: write
- uses: hoverkraft-tech/[email protected]
  with:
    # Description: The comment title. Must be static and unique, will be used to
    # retrieve the comment if exists already.
    #
    title: ""

    # Description: The comment body. See
    # [https://github.com/peter-evans/create-or-update-comment](https://github.com/peter-evans/create-or-update-comment)
    #
    body: ""

    # 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)
    #
    reactions: ""

    # Description: The comment author. Default is github-actions[bot].
    #
    # Default: github-actions[bot]
    comment-author: ""

    # Description: Optional token to interact with GitHub API. If not defined or
    # empty, the action will use the GITHUB_TOKEN provided by GitHub.
    #
    token: ""
Input Description Default Required
title The comment title. Must be static and unique, will be used to retrieve the comment if exists already. true
body The comment body. See https://github.com/peter-evans/create-or-update-comment false
reactions A comma separated list of reactions to add to the comment. See https://github.com/peter-evans/create-or-update-comment false
comment-author The comment author. Default is github-actions[bot]. github-actions[bot] false
token Optional token to interact with GitHub API.
If not defined or empty, the action will use the GITHUB_TOKEN provided by GitHub.
false