Skip to content

Latest commit

 

History

History
33 lines (24 loc) · 724 Bytes

README.md

File metadata and controls

33 lines (24 loc) · 724 Bytes

PR Comment Action

Adds a comment to a given Pull Request

Required arguments

Argument Description
body The message of your comment
github_token The GitHub token of the repository

Example usage

name: Say Hello

on: pull_request

jobs:
  deploy:
    name: Deploy
    runs-on: ubuntu-latest

    steps:
      - name: Checkout code
        uses: actions/checkout@v1

      - name: Say hello in a PR comment
        uses: trendyminds/github-actions-pr-comments@master
        with:
          body: "Hello, there!"
          github_token: ${{secrets.GITHUB_TOKEN}}