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
284f54f
fix: truncate body if exceeds max length (#1915)9e5b234
build(deps-dev): bump eslint from 8.38.0 to 8.39.0 (#1888)2d8e7db
build(deps-dev): bump@types/node
from 18.15.11 to 18.16.0 (#1887)041b6ab
build(deps-dev): bump prettier from 2.8.7 to 2.8.8 (#1886)31de0fd
build(deps-dev): bump@types/jest
from 29.5.0 to 29.5.1 (#1885)28295f6
build(deps-dev): bump@typescript-eslint/parser
from 5.59.0 to 5.59.1 (#1884)8dcaf38
build(deps-dev): bump@typescript-eslint/parser
from 5.58.0 to 5.59.0 (#1876)2827897
docs: add note about push-to-fork with remote reposc4f19d3
build(deps-dev): bump eslint-import-resolver-typescript (#1844)4603586
build(deps-dev): bump eslint from 8.37.0 to 8.38.0 (#1842)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)