Skip to content

A GitHub Action to comment on the relevant open PR when a commit is pushed.

License

Notifications You must be signed in to change notification settings

quan-to/comment-on-pr

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

22 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Comment on PR via GitHub Action

A GitHub action to comment on the relevant open PR when a commit is pushed.

Usage

  • Requires the GITHUB_TOKEN secret.
  • Requires the comment's message in the msg parameter.
  • Supports push and pull_request event types.

Sample workflow

name: comment-on-pr example
on: pull_request
jobs:
  example:
    name: sample comment
    runs-on: ubuntu-latest
    steps:
      - name: comment PR
        uses: unsplash/comment-on-pr@master
        env:
          GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
        with:
          msg: "Check out this message!"

About

A GitHub Action to comment on the relevant open PR when a commit is pushed.

Resources

License

Stars

Watchers

Forks

Packages

No packages published

Languages

  • Ruby 67.7%
  • Dockerfile 32.3%