actions-marketplace-validations/Update Pull Request from Branch Name

Updates a pull request with information extracted from head and/or base branch name

View on GitHub

Trust Signals

Scorecard Score
not yet scored
Maintenance Recency
Stale
License
None
namedescriptionrequireddefault
error-on-failFail the PR Checks if there is any issuesnotrue
repo-token[REQUIRED] The GITHUB_TOKEN secret, which is needed to access the repositoryyes
base-branch-regexRegex to match text in the base branch nameno""
head-branch-regexRegex to match text in the head branch nameno""
lowercase-branchShould the action make the branch name lowercase internally before matchingnotrue
title-templateText to insert into the PR title. This is based on the matched text from `base-branch-regex` or `head-branch-regex`. You can use whatever text you like, along with the following tokens: %basebranch% | %headbranch%no""
title-update-actionAction to perform on the title. Allowed values: prefix | suffix | replacenoprefix
title-insert-spaceShould the action insert a space between title and its prefix/suffixnotrue
title-uppercase-base-matchShould the matched text from base branch be in uppercase in the titlenotrue
title-uppercase-head-matchShould the matched text from head branch be in uppercase in the titlenotrue
body-templateText to insert into the PR body. You can use whatever text you like, along with the following tokens: %basebranch% | %headbranch%no""
body-update-actionUpdate action to perform on the body. Allowed values: prefix | suffix | replacenoprefix
body-newline-countNumber of newlines to separate body and its prefix/suffixno2
body-uppercase-base-matchShould the matched text from base branch be in the body. This is a check and will not change anything.notrue
body-uppercase-head-matchShould the matched text from head branch be in the body. This is a check and will not change anything.notrue
namedescription
baseMatchMatched text from base branch, if any
headMatchMatched text from head branch, if any
titleUpdatedWhether the PR title was updated
bodyUpdatedWhether the PR body was updated