reaction-link/Lint Pull Request

Lint the pull request structure and leave a comment suggesting changes if linting fails

View on GitHub

Trust Signals

Scorecard Score
not yet scored
Maintenance Recency
Stale
License
None
namedescriptionrequireddefault
access-tokenToken with triage permissions or GITHUB_TOKENyes
token-loginUsername of the GitHub useryes
github-eventtoJSON of github.event (event triggering the action)yes
use-greetingsJSON string array to use for randomly selected greetings (used in comment body, runs through JSON.parse)["Hello @{name},\n"]
use-approval-labelsJSON string array to use for labeling linted pull request (runs through JSON.parse)["Good"]
use-title-regexRegex string to use for linting the pull request title\w+
use-description-regexRegex string to use for linting the pull request description\w+
use-title-regex-flagRegex flag to use for linting the pull request title (Use empty string for none)g
use-description-regex-flagRegex flag to use for linting the pull request description (Use empty string for none)g
use-problem-titleTemplate string to use for highlighting a title that failed to pass (used in comment body). Template-Literals: {title}- The title `{title}` is not the format I expected.
use-problem-descriptionTemplate string to use for highlighting a description that failed to pass (used in comment body). Template-Literals: {body}- The description `{body}` is not the format I expected.
use-explanation-titleJSON string array to describe rules to pass linting for the pull request title (used in comment body, runs through JSON.parse)["- There must be a title","- Use proper capitalization"]
use-explanation-descriptionJSON string array to describe rules to pass linting for the pull request description (used in comment body, runs through JSON.parse)["- There must be a description"]

no outputs