The action will no longer leave the local repository checked out on the pull request branch. Instead, it will leave the repository checked out on the branch or commit that it was when the action started.
When using add-paths, uncommitted changes will no longer be destroyed. They will be stashed and restored at the end of the action run.
What's new
Adds input body-path, the path to a file containing the pull request body.
At the end of the action run the local repository is now checked out on the branch or commit that it was when the action started.
Any uncommitted tracked or untracked changes are now stashed and restored at the end of the action run. Currently, this can only occur when using the add-paths input, which allows for changes to not be committed. Previously, any uncommitted changes would be destroyed.
The proxy implementation has been revised but is not expected to have any change in behaviour. It continues to support the standard environment variables http_proxy, https_proxy and no_proxy.
Now sets the git safe.directory configuration for the local repository path. The configuration is removed when the action completes. Fixes issue peter-evans/create-pull-request#1170.
Now determines the git directory path using the git rev-parse --git-dir command. This allows users with custom repository configurations to use the action.
Improved handling of the team-reviewers input and associated errors.
News
:trophy: create-pull-request won an award for "awesome action" at the Open Source Awards at GitHub Universe. Thank you for your support and for making create-pull-request one of the top used actions. Please give it a :star:, or even buy me a coffee.
Dependabot will resolve any conflicts with this PR as long as you don't alter it yourself. You can also trigger a rebase manually by commenting @dependabot rebase.
Dependabot commands and options
You can trigger Dependabot actions by commenting on this PR:
- `@dependabot rebase` will rebase this PR
- `@dependabot recreate` will recreate this PR, overwriting any edits that have been made to it
- `@dependabot merge` will merge this PR after your CI passes on it
- `@dependabot squash and merge` will squash and merge this PR after your CI passes on it
- `@dependabot cancel merge` will cancel a previously requested merge and block automerging
- `@dependabot reopen` will reopen this PR if it is closed
- `@dependabot close` will close this PR and stop Dependabot recreating it. You can achieve the same result by closing it manually
- `@dependabot ignore this major version` will close this PR and stop Dependabot creating any more for this major version (unless you reopen the PR or upgrade to it yourself)
- `@dependabot ignore this minor version` will close this PR and stop Dependabot creating any more for this minor version (unless you reopen the PR or upgrade to it yourself)
- `@dependabot ignore this dependency` will close this PR and stop Dependabot creating any more for this dependency (unless you reopen the PR or upgrade to it yourself)
Bumps peter-evans/create-pull-request from 3 to 5.
Release notes
Sourced from peter-evans/create-pull-request's releases.
... (truncated)
Commits
1534078
fix: specify head repo (#2044)143be5d
build(deps-dev): bump@typescript-eslint/parser
from 5.59.9 to 5.59.11 (#2048)51e8ca2
build(deps-dev): bump@types/node
from 18.16.16 to 18.16.18 (#2047)712add8
build(deps-dev): bump@types/jest
from 29.5.1 to 29.5.2 (#2026)a9e8aab
build(deps-dev): bump eslint from 8.41.0 to 8.42.0 (#2024)37be4ff
build(deps-dev): bump@typescript-eslint/parser
from 5.59.8 to 5.59.9 (#2023)a5f0e5d
build(deps-dev): bump eslint-plugin-github from 4.7.0 to 4.8.0 (#2025)9ef70ee
build(deps-dev): bump@types/node
from 18.16.14 to 18.16.16 (#2009)0a28773
build(deps-dev): bump@typescript-eslint/parser
from 5.59.7 to 5.59.8 (#2008)4ddb8c8
build: update distribution (#1986)Dependabot will resolve any conflicts with this PR as long as you don't alter it yourself. You can also trigger a rebase manually by commenting
@dependabot rebase
.Dependabot commands and options
You can trigger Dependabot actions by commenting on this PR: - `@dependabot rebase` will rebase this PR - `@dependabot recreate` will recreate this PR, overwriting any edits that have been made to it - `@dependabot merge` will merge this PR after your CI passes on it - `@dependabot squash and merge` will squash and merge this PR after your CI passes on it - `@dependabot cancel merge` will cancel a previously requested merge and block automerging - `@dependabot reopen` will reopen this PR if it is closed - `@dependabot close` will close this PR and stop Dependabot recreating it. You can achieve the same result by closing it manually - `@dependabot ignore this major version` will close this PR and stop Dependabot creating any more for this major version (unless you reopen the PR or upgrade to it yourself) - `@dependabot ignore this minor version` will close this PR and stop Dependabot creating any more for this minor version (unless you reopen the PR or upgrade to it yourself) - `@dependabot ignore this dependency` will close this PR and stop Dependabot creating any more for this dependency (unless you reopen the PR or upgrade to it yourself)