actions-marketplace-validations/Create or Update Pull Request
A GitHub Action to create or update a pull request based on local changes
View on GitHubTrust Signals
- Scorecard Score
- not yet scored
- Maintenance Recency
- Stale
- License
- None
Inputs
| name | description | required | default |
|---|---|---|---|
| title | Pull Request title | yes | Update from 'Create or Update Request' action |
| body | Pull Request body | yes | This pull request has been created by the ["Create or Update Pull Request" action](https://github.com/gr2m/create-or-update-pull-request-action#readme). You can set a custom pull request title, body, branch and commit messages, see [Usage](https://github.com/gr2m/create-or-update-pull-request-action#usage). |
| branch | Branch name | yes | create-or-update-pull-request-action |
| author | Commit author name & email address. Must be in the form "Name <email@domain.com>" | yes | Create or Update Pull Request Action <create-or-update-pull-request@users.noreply.github.com> |
| commit-message | Commit message for all uncommited changes. | yes | Update from 'Create or Update Request' action |
| path | Commit selected files only by providing a path. It is used in `git add "<path>"` | no | — |
| labels | Comma separated list of labels to apply to the pull request | no | — |
| assignees | Comma separated list of assignees to apply to the pull request | no | — |
| reviewers | Comma separated list of reviewers to apply to the pull request | no | — |
| team_reviewers | Comma separated list of team reviewers to apply to the pull request | no | — |
| auto-merge | Enable auto merge for pull request. Requires auto merging to be enabled in repository settings | no | — |
| update-pull-request-title-and-body | Set to true if you want the title and body to be updated for an existing pull request | no | false |
| draft | Set to true if you want the pull request to be in draft mode | no | false |
Outputs
| name | description |
|---|---|
| pull-request-number | Number of the created/updated pull request |
| result | 'updated', 'created', 'unchanged' based if the PR was created, updated or nothing happened |