Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/poad/github-pull-requester
https://github.com/poad/github-pull-requester
github-actions
Last synced: about 2 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 (almost 4 years ago)
- Default Branch: main
- Last Pushed: 2024-10-24T01:04:47.000Z (2 months ago)
- Last Synced: 2024-10-24T16:07:57.194Z (2 months ago)
- Topics: github-actions
- Language: TypeScript
- Homepage:
- Size: 14.3 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://img.shields.io/badge/license-MIT-green.svg?style=flat)](LICENSE)
![CI](https://github.com/poad/github-pull-requester/workflows/CI/badge.svg)
[![GitHub release](https://img.shields.io/github/release/poad/github-pull-requester.svg)](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/[email protected]
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. |