Create a new Pull Request by GitHub GraphQL API.
- 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) }
- maintainer_can_modify
- draft
- issue
result
key | value |
---|---|
id | GraphQL Node ID of GitHub Pull Request. |
url | URL of GitHub Pull Request. |