create-pull-request
Enrichment pendingA GitHub action to create a pull request for changes to your repository in the actions workspace
GraphCanon updated today · GitHub synced today
Verify the decision
Adoption
Package downloads where a registry match exists. GitHub stars (2,814) are secondary evidence.
- npm downloads (30d)
- 145·npm downloads API·today
Maintenance and security
Full trust report- Maintenance
- Active (13d since push)
- As of today
- Provenance
- Not a fork · Personal account
- As of today
- Security (OSV)
- No lockfile
- As of today
Public GitHub metadata and optional OSV scans. Signals, not a guarantee. Trust methodology.
Install
npm install create-pull-request npmSimilar tools
Same-category neighbours. No typed graph edges are catalogued for this tool yet.
Evidence and technical details
Sourced facts, taxonomy, compatibility claims, README excerpt, and machine-readable endpoints.
Overview
A GitHub action to create a pull request for changes to your repository in the actions workspace
Capability facts
- MCP server
- No MCP server detected
Source: repo_scan · Jul 15, 2026
- Languages
- typescript, javascript
Source: github.language+package.json · Jul 15, 2026
Categories
Tags
README
Create Pull Request
A GitHub action to create a pull request for changes to your repository in the actions workspace.
Changes to a repository in the Actions workspace persist between steps in a workflow. This action is designed to be used in conjunction with other steps that modify or add files to your repository. The changes will be automatically committed to a new branch and a pull request created.
Create Pull Request action will:
- Check for repository changes in the Actions workspace. This includes:
- untracked (new) files
- tracked (modified) files
- commits made during the workflow that have not been pushed
- Commit all changes to a new branch, or update an existing pull request branch.
- Create or update a pull request to merge the branch into the base—the branch checked out in the workflow.
Documentation
- Concepts, guidelines and advanced usage
- Examples
- Updating between versions
- Common issues
Usage
- uses: actions/checkout@v6
# Make changes to pull request here
- name: Create Pull Request
uses: peter-evans/create-pull-request@v8
You can also pin to a specific release version in the format @v8.x.x
Workflow permissions
For this action to work you must explicitly allow GitHub Actions to create pull requests. This setting can be found in a repository's settings under Actions > General > Workflow permissions.
For repositories belonging to an organization, this setting can be managed by admins in organization settings under Actions > General > Workflow permissions.
Action inputs
All inputs are optional. If not set, sensible defaults will be used.
| Name | Description | Default |
|---|---|---|
token | The token that the action will use to create and update the pull request. See token. | GITHUB_TOKEN |
branch-token | The token that the action will use to create and update the branch. See branch-token. | Defaults to the value of token |
path | Relative path under GITHUB_WORKSPACE to the repository. | GITHUB_WORKSPACE |
add-paths | A comma or newline-separated list of file paths to commit. Paths should follow git's pathspec syntax. See Add specific paths. | If no paths are specified, all new and modified files are added. |
commit-message | The message to use when committing changes. See commit-message. | [create-pull-request] automated change |
committer | The committer name and email address in the format Display Name <email@address.com>. Defaults to the GitHub Actions bot user on github.com. | github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com> |
author | The author name and email address in the format Display Name <email@address.com>. Defaults to the user who triggered the workflow run. | ${{ github.actor }} <${{ github.actor_id }}+${{ github.actor }}@users.noreply.github.com> |
signoff | Add Signed-off-by line by the committer at the end of the commit log message. | false |
branch | The pull request branch name. | create-pull-request/patch |
delete-branch | Delete the branch if it doesn't have an active pull request associated with it. See delete-branch. | false |
branch-suffix | The branch suffix type when using the alternative branching strategy. Valid values are random, timestamp and short-commit-hash. See Alternative strategy for details. | |
base | Sets the pull request base bra |
For agents
This page has a .md twin and JSON over the API.