Skip to content

Releases: peter-evans/create-pull-request

Create Pull Request v6.0.5

25 Apr 08:12
6d6857d
Compare
Choose a tag to compare

⚙️ Fixes an issue with proxy support for users that run self-hosted behind a proxy.

What's Changed

  • fix: update proxy support to follow octokit change to fetch api by @peter-evans in #2867

Full Changelog: v6.0.4...v6.0.5

Create Pull Request v6.0.4

17 Apr 11:05
9153d83
Compare
Choose a tag to compare

⚡ Improves performance in some cases for very large git repositories.

What's Changed

Full Changelog: v6.0.3...v6.0.4

Create Pull Request v6.0.3

12 Apr 09:22
c55203c
Compare
Choose a tag to compare

⚡ Improves performance of the push-to-fork feature.

What's Changed

  • build(deps-dev): bump @types/node from 18.19.23 to 18.19.25 by @dependabot in #2826
  • build(deps-dev): bump @types/node from 18.19.25 to 18.19.26 by @dependabot in #2831
  • build(deps-dev): bump @types/node from 18.19.26 to 18.19.28 by @dependabot in #2836
  • build(deps-dev): bump @types/node from 18.19.28 to 18.19.31 by @dependabot in #2842
  • fix: drop unnecessary fetch with unshallow on push-to-fork by @peter-evans in #2849

Full Changelog: v6.0.2...v6.0.3

Create Pull Request v6.0.2

12 Mar 14:23
70a41ab
Compare
Choose a tag to compare

⚡ Improves performance in some cases where the action rebases changes on to the specified base.

What's Changed

  • build(deps-dev): bump eslint-plugin-github from 4.10.1 to 4.10.2 by @dependabot in #2797
  • build(deps-dev): bump @types/node from 18.19.18 to 18.19.21 by @dependabot in #2798
  • build(deps-dev): bump @types/node from 18.19.21 to 18.19.23 by @dependabot in #2811
  • perf: shallow fetch the actual base when rebasing from working base by @peter-evans in #2816

New Contributors

Full Changelog: v6.0.1...v6.0.2

Create Pull Request v6.0.1

28 Feb 00:33
a4f52f8
Compare
Choose a tag to compare

⚙️ Fixes an issue where updating a pull request leads to the error Cannot read properties of undefined (reading 'number'). This was likely caused by GitHub fixing a long standing bug with an API endpoint, resulting in a breaking change.

What's Changed

  • build(deps-dev): bump @types/jest from 29.5.11 to 29.5.12 by @dependabot in #2730
  • build(deps-dev): bump prettier from 3.2.4 to 3.2.5 by @dependabot in #2731
  • build(deps-dev): bump @types/node from 18.19.10 to 18.19.14 by @dependabot in #2732
  • build(deps): bump peter-evans/slash-command-dispatch from 3 to 4 by @dependabot in #2748
  • build(deps): bump peter-evans/create-pull-request from 5 to 6 by @dependabot in #2747
  • build(deps-dev): bump @types/node from 18.19.14 to 18.19.15 by @dependabot in #2759
  • build(deps-dev): bump eslint-plugin-jest from 27.6.3 to 27.9.0 by @dependabot in #2769
  • build(deps-dev): bump @types/node from 18.19.15 to 18.19.17 by @dependabot in #2768
  • build(deps-dev): bump @types/node from 18.19.17 to 18.19.18 by @dependabot in #2780
  • build(deps-dev): bump eslint from 8.56.0 to 8.57.0 by @dependabot in #2781
  • fix: list pulls using the correct head format by @peter-evans in #2792

Full Changelog: v6.0.0...v6.0.1

Create Pull Request v6.0.0

31 Jan 11:17
Compare
Choose a tag to compare

Behaviour changes

  • The default values for author and committer have 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 author has 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 committer has been changed to github-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 of token. 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-fork now 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 --unshallow only when necessary, rather than as a default argument of git 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

New Contributors

Full Changelog: v5.0.2...v6.0.0

Create Pull Request v5.0.2

14 Jun 01:20
1534078
Compare
Choose a tag to compare

⚙️ Fixes an issue that occurs when using push-to-fork and both base and head repositories are in the same org/user account.

What's Changed

Full Changelog: v5.0.1...v5.0.2

Create Pull Request v5.0.1

02 May 01:46
284f54f
Compare
Choose a tag to compare

What's Changed

Full Changelog: v5.0.0...v5.0.1

Create Pull Request v5.0.0

04 Apr 23:48
5b4a9f6
Compare
Choose a tag to compare

Behaviour changes

  • 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 #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

🏆 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 ⭐, or even buy me a coffee.

What's Changed

Full Changelog: v4.2.4...v5.0.0

Create Pull Request v4.2.4

15 Mar 00:47
38e0b6e
Compare
Choose a tag to compare

⚙️ Patches some recent security vulnerabilities.

What's Changed

New Contributors

Full Changelog: v4.2.3...v4.2.4