Skip to content

Latest commit

 

History

History
137 lines (91 loc) · 5.14 KB

File metadata and controls

137 lines (91 loc) · 5.14 KB

Icon GitHub Action: Create or update comment

Create or update comment

Marketplace Release License Stars PRs Welcome

Overview

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

Usage

- uses: hoverkraft-tech/ci-github-common/actions/create-or-update-comment@71b85947453f32b5d147ff3ab37351439a92d840 # 0.34.2
  with:
    # The comment title.
    # Must be static and unique, will be used to retrieve the comment if exists already.
    #
    # This input is required.
    title: ""

    # The comment body.
    # See https://github.com/peter-evans/create-or-update-comment.
    body: ""

    # A comma separated list of reactions to add to the comment.
    # See https://github.com/peter-evans/create-or-update-comment.
    reactions: ""

    # The comment author.
    # Default: `github-actions[bot]`
    comment-author: github-actions[bot]

    # Optional token to interact with GitHub API.
    # If not defined or empty, the action will use the GITHUB_TOKEN provided by GitHub.
    token: ""

Inputs

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

Contributing

Contributions are welcome! Please see the contributing guidelines for more details.

License

This project is licensed under the MIT License.

SPDX-License-Identifier: MIT

Copyright © 2026 hoverkraft

For more details, see the license.


This documentation was automatically generated by CI Dokumentor.