8000 commit-comment-action · Actions · GitHub Marketplace · GitHub
[go: up one dir, main page]
More Web Proxy on the site http://driver.im/
Skip to content

commit-comment-action

Actions
A GitHub Action to commit comment
v1.1.0
Latest
Star (0)

deploy stars forks HitCount Maintainability Rating Technical Debt Bugs

Commit Comment GitHub Action

This GitHub Action allows you to automatically create a commit comment on a pull request.

Usage

  1. Add a step in your workflow YAML file to use this action:

    - name: Co
    8000
    mmit Comment
      uses: dext7r/commit-comment@main
      with:
        token: ${{ secrets.GITHUB_TOKEN }}
        body: 'This is a test comment.'
  2. Configure the token input with a secret GitHub API token with the necessary permissions.

  3. Specify the body input with the content of the comment you want to create.

Inputs

  • token (required): Secret GitHub API token to use for making API requests.
  • body (required): Comment content.

Outputs

  • comment_id: The ID of the comment that was created.

Example

name: Create Comment
on:
  pull_request:
    types: [opened]

jobs:
  comment:
    runs-on: ubuntu-latest

    steps:
      - name: Commit Comment
        uses: dext7r/commit-comment@main
        with:
          token: ${{ secrets.GITHUB_TOKEN }}
          body: 'Hello from GitHub Action!'

Versioning

This action follows semantic versioning. See releases for more information about each version.

License

This project is licensed under the MIT License - see the LICENSE file for details.

commit-comment-action is not certified by GitHub. It is provided by a third-party and is governed by separate terms of service, privacy policy, and support documentation.

About

A GitHub Action to commit comment
v1.1.0
Latest

commit-comment-action is not certified by GitHub. It is provided by a third-party and is governed by separate terms of service, privacy policy, and support documentation.

0