Skip to content

fxtr/ga-pr-comment

Repository files navigation

Based on https://github.com/github-actions-up-and-running/pr-comment

PR Comment Action

This action comments a message on PR.

Inputs

repo-token

Required The GitHub Token for comment on PR.

message

The message to comment on PR.

file

Read comment message from file

Outputs

commentUrl

The PR comment URL.

Example Usage

uses: fxtr/ga-pr-comment@master
with:
  repo-token: ${{ secrets.GITHUB_TOKEN }}
  message: Nice PR!👍
uses: fxtr/ga-pr-comment@master
with:
  repo-token: ${{ secrets.GITHUB_TOKEN }}
  file: ./comment.txt