actions-marketplace-validations/PR Update GA
GitHub Action that updates a pull request with information extracted from branch name
View on GitHubTrust Signals
- Scorecard Score
- not yet scored
- Maintenance Recency
- Stale
- License
- None
- Runtime
- Deprecated runtime
Inputs
| name | description | required | default |
|---|---|---|---|
| repo-token | The GITHUB_TOKEN secret | yes | — |
| base-branch-regex | Regex to match text in the base branch name | no | "" |
| head-branch-regex | Regex to match text in the head branch name | no | "" |
| lowercase-branch | Should lowercase branch name before matching text | no | true |
| title-template | Title template where matched text from branch gets substituted in. Allowed tokens: %basebranch% | %headbranch% | no | "" |
| title-update-action | Update action to perform on the title. Allowed values: prefix | suffix | replace | no | prefix |
| title-insert-space | Should insert a space between title and its prefix or suffix | no | true |
| title-uppercase-base-match | Should uppercase matched text from base branch in title | no | true |
| title-uppercase-head-match | Should uppercase matched text from head branch in title | no | true |
| body-template | Body template where matched text from branch gets substituted in. Allowed tokens: %basebranch% | %headbranch% | no | "" |
| body-update-action | Update action to perform on the body. Allowed values: prefix | suffix | replace | no | prefix |
| body-newline-count | Number of newlines to separate body and its prefix or suffix | no | 2 |
| body-uppercase-base-match | Should uppercase matched text from base branch in body | no | true |
| body-uppercase-head-match | Should uppercase matched text from head branch in body | no | true |
Outputs
| name | description |
|---|---|
| baseMatch | Matched text from base branch if any |
| headMatch | Matched text from head branch if any |
| titleUpdated | Whether the PR title was updated |
| bodyUpdated | Whether the PR body was updated |