HUB
Sign inSign up

mpdude/comment-on-pr

By mpdude

•Updated almost 7 years ago

Docker Image for the https://github.com/unsplash/comment-on-pr action

Image
0

10K+

mpdude/comment-on-pr repository overview

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

Tag summary

Content type

Image

Digest

Size

329.3 MB

Last updated

almost 7 years ago

docker pull mpdude/comment-on-pr