Sourced from peter-evans/create-pull-request's releases.
Create Pull Request v6.0.0
Behaviour changes
- The default values for
authorandcommitterhave changed. See "What's new" below for details. If you are overriding the default values you will not be affected by this change.- On completion, the action now removes the temporary git remote configuration it adds when using
push-to-fork. This should not affect you unless you were using the temporary configuration for some other purpose after the action completes.What's new
- Updated runtime to Node.js 20
- The action now requires a minimum version of v2.308.0 for the Actions runner. Update self-hosted runners to v2.308.0 or later to ensure compatibility.
- The default value for
authorhas been changed to${{ github.actor }} <${{ github.actor_id }}+${{ github.actor }}@users.noreply.github.com>. The change adds the${{ github.actor_id }}+prefix to the email address to align with GitHub's standard format for the author email address.- The default value for
committerhas been changed togithub-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>. This is to align with the default GitHub Actions bot user account.- Adds input
git-token, the Personal Access Token (PAT) that the action will use for git operations. This input defaults to the value oftoken. Use this input if you would like the action to use a different token for git operations than the one used for the GitHub API.push-to-forknow supports pushing to sibling repositories in the same network.- Previously, when using
push-to-fork, the action did not remove temporary git remote configuration it adds during execution. This has been fixed and the configuration is now removed when the action completes.- If the pull request body is truncated due to exceeding the maximum length, the action will now suffix the body with the message "...[Pull request body truncated]" to indicate that the body has been truncated.
- The action now uses
--unshallowonly when necessary, rather than as a default argument ofgit fetch. This should improve performance, particularly for large git repositories with extensive commit history.- The action can now be executed on one GitHub server and create pull requests on a different GitHub server. Server products include GitHub hosted (github.com), GitHub Enterprise Server (GHES), and GitHub Enterprise Cloud (GHEC). For example, the action can be executed on GitHub hosted and create pull requests on a GHES or GHEC instance.
What's Changed
- Update distribution by
@actions-botin peter-evans/create-pull-request#2086- fix crazy-max/ghaction-import-gp parameters by
@fharperin peter-evans/create-pull-request#2177- Update distribution by
@actions-botin peter-evans/create-pull-request#2364- Use checkout v4 by
@okuramasafumiin peter-evans/create-pull-request#2521- Note about
delete-branchby@dezren39in peter-evans/create-pull-request#2631- 98 dependency updates by
@dependabotNew Contributors
@fharpermade their first contribution in peter-evans/create-pull-request#2177@okuramasafumimade their first contribution in peter-evans/create-pull-request#2521@dezren39made their first contribution in peter-evans/create-pull-request#2631Full Changelog: https://github.com/peter-evans/create-pull-request/compare/v5.0.2...v6.0.0
Create Pull Request v5.0.2
⚙️ Fixes an issue that occurs when using
push-to-forkand both base and head repositories are in the same org/user account.What's Changed
- fix: specify head repo by
@peter-evansin peter-evans/create-pull-request#2044- 20 dependency updates by
@dependabotFull Changelog: https://github.com/peter-evans/create-pull-request/compare/v5.0.1...v5.0.2
Create Pull Request v5.0.1
What's Changed
- fix: truncate body if exceeds max length by
@peter-evansin peter-evans/create-pull-request#1915- 12 dependency updates by
@dependabotFull Changelog: https://github.com/peter-evans/create-pull-request/compare/v5.0.0...v5.0.1
c5a7806
feat: add branch name output (#2995)4383ba9
build: update distribution (#2990)36f7648
build(deps): bump undici from 6.18.2 to 6.19.2 (#2977)5f7c158
build(deps-dev): bump @types/node from 18.19.34 to
18.19.36 (#2976)db1713d
build(deps-dev): bump ts-jest from 29.1.4 to 29.1.5 (#2975)ca98a71
build(deps-dev): bump ws from 8.11.0 to 8.17.1 (#2970)ce00808
build(deps-dev): bump braces from 3.0.2 to 3.0.3 (#2962)7318c0b
build(deps-dev): bump prettier from 3.3.0 to 3.3.2 (#2959)e30bbbb
build: update distribution (#2947)bad19b8
build(deps-dev): bump @types/node from 18.19.33 to
18.19.34 (#2935)