A GitHub Action to comment on the relevant open PR when a commit is pushed.
Go to file
2019-07-16 12:11:18 +02:00
Dockerfile Add repo and maintainer labels to Dockerfile. 2019-05-24 10:20:14 -05:00
entrypoint.sh Find PRs with commit SHA 2019-07-16 12:11:18 +02:00
LICENSE Add license and readme. 2019-05-24 10:48:10 -05:00
README.md Add license and readme. 2019-05-24 10:48:10 -05: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 args.

Sample workflow

workflow "comment-on-pr example" {
  on = "push"
  resolves = ["unsplash/comment-on-pr@master"]
}

action "unsplash/comment-on-pr@master" {
  uses = "unsplash/comment-on-pr@master"
  args = ["Check out this message!"]
  secrets = ["GITHUB_TOKEN"]
}