Skip to content
A GitHub Action to comment on the relevant open PR when a commit is pushed.
Ruby Dockerfile
Branch: master
Clone or download
aaronklaassen Merge pull request #4 from mangelarilla/master
Update to support new workflow syntax
Latest commit 18e8a71 Oct 2, 2019
Permalink
Type Name Latest commit message Commit time
Failed to load latest commit information.
Dockerfile Add repo and maintainer labels to Dockerfile. May 24, 2019
LICENSE Add license and readme. May 24, 2019
README.md update readme for new workflow syntax Sep 25, 2019
action.yml Add action.yml manifest Sep 25, 2019
entrypoint.sh Use && rather than and. Sep 30, 2019

README.md

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.

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!"
You can’t perform that action at this time.