infra-blocks/Create Pull Request Action
Simply creates a pull request using the GitHub API.
View on GitHubTrust Signals
- Scorecard Score
- not yet scored
- Maintenance Recency
- Stale
- License
- None
Inputs
| name | description | required | default |
|---|---|---|---|
| head | The name of the branch where your changes are implemented. For cross-repository pull requests in the same network, namespace head with a user like this: username:branch. | yes | — |
| base | The name of the branch you want the changes pulled into. This should be an existing branch on the current repository. You cannot submit a pull request to one repository that requests a merge to a base of another repository. | yes | — |
| title | The pull request title. | no | — |
| body | The pull request body. | no | — |
| github-token | The GitHub token to authenticate with the API. | yes | ${{ github.token }} |
| repository | The repository where the pull request will be opened. | no | ${{ github.repository }} |
Outputs
| name | description |
|---|---|
| pull-request | The created pull request payload, as returned by the [api](https://docs.github.com/en/rest/pulls/pulls?apiVersion=2022-11-28#create-a-pull-request). |