Skip to content

pczern/verify-pr-action

Repository files navigation

verify-pr-action

This action verifies PR titles and descriptions. It labels pull requests accordingly. Merge conflict labeling could work in future when action can be run on PR's with merge conflicts.

Inputs

titleRegex

Required Regex to be run on the PR title

titleMinLength

Required Minimum length for PR title

descriptionRegex

Required Regex to be run on the PR description

descriptionMinLength

Required Minimum length for PR description

Example usage

uses: actions/verify-pr-action
with:
  titleRegex: "Title.+"
  titleMinLength: 10
  descriptionRegex: "Description.+"
  descriptionMinLength: 50