https://github.com/poad/github-pull-requester
https://github.com/poad/github-pull-requester
github-actions
Last synced: 11 months ago
JSON representation
- Host: GitHub
- URL: https://github.com/poad/github-pull-requester
- Owner: poad
- License: mit
- Created: 2021-01-04T01:13:32.000Z (over 5 years ago)
- Default Branch: main
- Last Pushed: 2025-06-27T10:39:45.000Z (11 months ago)
- Last Synced: 2025-06-29T06:40:05.830Z (11 months ago)
- Topics: github-actions
- Language: TypeScript
- Homepage:
- Size: 16.2 MB
- Stars: 0
- Watchers: 3
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# github-pull-requester
[](LICENSE)

[](https://GitHub.com/poad/github-pull-requester/releases/)
Create a new Pull Request by GitHub GraphQL API.
## Useage
```$yaml
- name: Create a new Pull Request
uses: poad/github-pull-requester@v2.0.0
with:
head_branch: { name of head branch }
base_branch: master # If omitted, it is equivalent to specifying main.
github_token: { GitHub token for Pull Request creation }
owner: { name of repository owner }
repository: { name of repository }
title: { title (optional) }
body: { body (optional) }
```
### Reference Information
[GitHub API](https://docs.github.com/en/free-pro-team@latest/rest/reference/pulls#create-a-pull-request)
#### The following parameters are not supported
- maintainer_can_modify
- draft
- issue
## Outputs
### key
`result`
### value
| key | value |
|-----|-------|
| id | GraphQL Node ID of GitHub Pull Request. |
| url | URL of GitHub Pull Request. |