check-pr-body-action

command module
v1.0.3 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Apr 9, 2022 License: MIT Imports: 3 Imported by: 0

README

Check Pull Request Body Action

This action checks if a string must contains or not in the pull request body.

Github Environment Variables

  • GITHUB_REPOSITORY

Inputs

pr_number

Optional Pull Request number.

contains

Optional String that must contains in pull request body. Defaults to empty string.

not_contains

Optional String that must not contains in pull request body. Defaults to empty string.

Env

GITHUB_TOKEN

GitHub token.

Example usage

uses: gandarez/check-pr-body-action@v1
  with:
    pr_number: ${{ github.event.number }}
    contains: "something"
  env:
    GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}

Documentation

The Go Gopher

There is no documentation for this package.

Directories

Path Synopsis
cmd
pr
internal
pr

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL