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.
You can trigger a rebase of this PR 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)
Note
Automatic rebases have been disabled on this pull request as it has been open for over 30 days.
Bumps peter-evans/create-pull-request from 4 to 5.
Release notes
Sourced from peter-evans/create-pull-request's releases.
... (truncated)
Commits
5b4a9f6
v5 (#1792)1847e5d
build(deps-dev): bump eslint from 8.36.0 to 8.37.0 (#1803)c246f7e
build(deps-dev): bump@typescript-eslint/parser
from 5.57.0 to 5.57.1 (#1801)2dd2b11
build(deps-dev): bump eslint-import-resolver-typescript (#1802)05d5a3c
build(deps-dev): bump@types/node
from 18.15.10 to 18.15.11 (#1800)21479f2
build(deps-dev): bump ts-jest from 29.0.5 to 29.1.0 (#1799)36a56da
build(deps-dev): bump@typescript-eslint/parser
from 5.56.0 to 5.57.0 (#1768)b7f0c97
build(deps-dev): bump prettier from 2.8.6 to 2.8.7 (#1767)6a62596
build(deps): bump peter-evans/enable-pull-request-automerge from 2 to 3 (#1766)d1ed29f
build(deps-dev): bump@types/node
from 18.15.5 to 18.15.10 (#1765)You can trigger a rebase of this PR 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)