A GitHub Action to comment on the relevant open PR when a commit is pushed.
Find a file
Matthias Pigulla e806d254dc Use the alpine base image variant
This leads to a much smaller download and thus faster workflows on GH.
2020-01-22 12:53:50 +00:00
action.yml Add action.yml manifest 2019-09-25 15:54:51 +01:00
Dockerfile Use the alpine base image variant 2020-01-22 12:53:50 +00:00
entrypoint.sh Support pull_request event types 2019-11-13 23:24:44 -05:00
LICENSE Add license and readme. 2019-05-24 10:48:10 -05:00
README.md Update README with supported event types. 2019-12-24 10:49:32 -06:00

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!"