Skip to content

nzws/pr-msg-action

Repository files navigation

pr-msg-action

GitHub Workflow Status GitHub code style: Prettier dependabot enabled

Comment the result of any command on the pull request.

Usage

Create .github/workflows/<workflow name>.yml.

name: Comment jest coverage
on:
  - pull_request
jobs:
  run:
    runs-on: ubuntu-latest
    steps:
      - uses: actions/checkout@v2

      - run: yarn --frozen-lockfile

      - uses: nzws/pr-msg-action@master
        with:
          token: ${{ secrets.GITHUB_TOKEN }}
          command: 'yarn jest --coverage'

Inputs:

  • token: GitHub's token (Use ${{ secrets.GITHUB_TOKEN }})
  • command: Command to be executed.

License

  • code: MIT

About

Comment the result of any command on the pull request.

Topics

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published