Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Update peter-evans/create-pull-request action to v7 #1178

Merged
merged 2 commits into from
Nov 27, 2024

Conversation

pulumi-renovate[bot]
Copy link
Contributor

This PR contains the following updates:

Package Type Update Change
peter-evans/create-pull-request action major v3.12.0 -> v7.0.5
peter-evans/create-pull-request action major v6 -> v7

Release Notes

peter-evans/create-pull-request (peter-evans/create-pull-request)

v7.0.5: Create Pull Request v7.0.5

Compare Source

⚙️ Fixes an issue with commit signing to allow it to support symlinks

What's Changed

Full Changelog: peter-evans/create-pull-request@v7.0.4...v7.0.5

v7.0.4: Create Pull Request v7.0.4

Compare Source

⚙️ Fixes an issue with commit signing to allow it to support submodules

What's Changed

New Contributors

Full Changelog: peter-evans/create-pull-request@v7.0.3...v7.0.4

v7.0.3: Create Pull Request v7.0.3

Compare Source

⚙️ Fixes an issue with commit signing where commit SHAs have variable lengths when abbreviated.

What's Changed

Full Changelog: peter-evans/create-pull-request@v7.0.2...v7.0.3

v7.0.2: Create Pull Request v7.0.2

Compare Source

⚙️ Fixes an issue with commit signing when a change was detected as being a rename or copy.

What's Changed

Full Changelog: peter-evans/create-pull-request@v7.0.1...v7.0.2

v7.0.1: Create Pull Request v7.0.1

Compare Source

⚙️ Fixes an issue affecting one particular use case where the action fails on diff --stat with fatal: ambiguous argument.

What's Changed

Full Changelog: peter-evans/create-pull-request@v7.0.0...v7.0.1

v7.0.0: Create Pull Request v7.0.0

Compare Source

✨ Now supports commit signing with bot-generated tokens! See "What's new" below. ✍️🤖

Behaviour changes
  • Action input git-token has been renamed branch-token, to be more clear about its purpose. The branch-token is the token that the action will use to create and update the branch.
  • The action now handles requests that have been rate-limited by GitHub. Requests hitting a primary rate limit will retry twice, for a total of three attempts. Requests hitting a secondary rate limit will not be retried.
  • The pull-request-operation output now returns none when no operation was executed.
  • Removed deprecated output environment variable PULL_REQUEST_NUMBER. Please use the pull-request-number action output instead.
What's new
  • The action can now sign commits as github-actions[bot] when using GITHUB_TOKEN, or your own bot when using GitHub App tokens. See commit signing for details.
  • Action input draft now accepts a new value always-true. This will set the pull request to draft status when the pull request is updated, as well as on creation.
  • A new action input maintainer-can-modify indicates whether maintainers can modify the pull request. The default is true, which retains the existing behaviour of the action.
  • A new output pull-request-commits-verified returns true or false, indicating whether GitHub considers the signature of the branch's commits to be verified.

What's Changed

New Contributors

Full Changelog: peter-evans/create-pull-request@v6.1.0...v7.0.0

v6.1.0: Create Pull Request v6.1.0

Compare Source

✨ Adds pull-request-branch as an action output.

What's Changed

Full Changelog: peter-evans/create-pull-request@v6.0.5...v6.1.0

v6.0.5: Create Pull Request v6.0.5

Compare Source

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

What's Changed

Full Changelog: peter-evans/create-pull-request@v6.0.4...v6.0.5

v6.0.4: Create Pull Request v6.0.4

Compare Source

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

What's Changed

Full Changelog: peter-evans/create-pull-request@v6.0.3...v6.0.4

v6.0.3: Create Pull Request v6.0.3

Compare Source

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

What's Changed

Full Changelog: peter-evans/create-pull-request@v6.0.2...v6.0.3

v6.0.2: Create Pull Request v6.0.2

Compare Source

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

What's Changed

New Contributors

Full Changelog: peter-evans/create-pull-request@v6.0.1...v6.0.2

v6.0.1: Create Pull Request v6.0.1

Compare Source

⚙️ 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

Full Changelog: peter-evans/create-pull-request@v6.0.0...v6.0.1

v6.0.0: Create Pull Request v6.0.0

Compare Source

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 }}@&#8203;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]@&#8203;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: peter-evans/create-pull-request@v5.0.2...v6.0.0

v5.0.3

Compare Source

v5.0.2: Create Pull Request v5.0.2

Compare Source

⚙️ 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: peter-evans/create-pull-request@v5.0.1...v5.0.2

v5.0.1: Create Pull Request v5.0.1

Compare Source

What's Changed

Full Changelog: peter-evans/create-pull-request@v5.0.0...v5.0.1

v5.0.0: Create Pull Request v5.0.0

Compare Source

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 https://github.com/peter-evans/create-pull-request/issues/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: peter-evans/create-pull-request@v4.2.4...v5.0.0

v4.2.4: Create Pull Request v4.2.4

Compare Source

⚙️ Patches some recent security vulnerabilities.

What's Changed

New Contributors

Full Changelog: peter-evans/create-pull-request@v4.2.3...v4.2.4

v4.2.3: Create Pull Request v4.2.3

Compare Source

What's Changed

Full Changelog: peter-evans/create-pull-request@v4.2.2...v4.2.3

v4.2.2: Create Pull Request v4.2.2

Compare Source

What's Changed

New Contributors

Full Changelog: peter-evans/create-pull-request@v4.2.1...v4.2.2

v4.2.1: Create Pull Request v4.2.1

Compare Source

What's Changed

Full Changelog: peter-evans/create-pull-request@v4.2.0...v4.2.1

v4.2.0: Create Pull Request v4.2.0

Compare Source

⚙️ Improves the proxy implementation to properly support the standard environment variables http_proxy, https_proxy and no_proxy

What's Changed

Full Changelog: peter-evans/create-pull-request@v4.1.4...v4.2.0

v4.1.4: Create Pull Request v4.1.4

Compare Source

⚙️ Bumps @actions/core to transition away from deprecated runner commands.

What's Changed

Full Changelog: peter-evans/create-pull-request@v4.1.3...v4.1.4

v4.1.3: Create Pull Request v4.1.3

Compare Source

What's Changed

New Contributors

Full Changelog: peter-evans/create-pull-request@v4.1.2...v4.1.3

v4.1.2: Create Pull Request v4.1.2

Compare Source

What's Changed

Full Changelog: peter-evans/create-pull-request@v4.1.1...v4.1.2

v4.1.1: Create Pull Request v4.1.1

Compare Source

⚙️ Fixes an issue that occurred on Windows runners when CRLF is auto-replaced by LF by Git. https://github.com/peter-evans/create-pull-request/issues/1202

What's Changed

Full Changelog: peter-evans/create-pull-request@v4.1.0...v4.1.1

v4.1.0: Create Pull Request v4.1.0

Compare Source

What's Changed

New Contributors

Full Changelog: peter-evans/create-pull-request@v4.0.4...v4.1.0

v4.0.4: Create Pull Request v4.0.4

Compare Source

⚙️ Fixes an issue that occurred when the local storage for a task on the actions runner was not reset. This issue affected users using docker-github-actions-runner.

What's Changed

New Contributors

Full Changelog: peter-evans/create-pull-request@v4.0.3...v4.0.4

v4.0.3: Create Pull Request v4.0.3

Compare Source

⚙️ Fixes an issue that occurred when the repository name was not cased correctly.

What's Changed

New Contributors

Full Changelog: peter-evans/create-pull-request@v4.0.2...v4.0.3

v4.0.2: Create Pull Request v4.0.2

Compare Source

⚙️ Fixes an issue that occurred when a pull request was created from a repository fork (using push-to-fork), where the repository had been renamed from its original name.

What's Changed

Full Changelog: peter-evans/create-pull-request@v4.0.1...v4.0.2

v4.0.1: Create Pull Request v4.0.1

Compare Source

What's Changed

New Contributors

Full Changelog: peter-evans/create-pull-request@v4.0.0...v4.0.1

v4.0.0: Create Pull Request v4.0.0

Compare Source

Breaking changes

  • The add-paths input no longer accepts -A as a valid value. When committing all new and modified files the add-paths input should be omitted.
  • If using self-hosted runners or GitHub Enterprise Server, there are minimum requirements for v4 to run. See "What's new" below for details.

What's new

  • Updated runtime to Node.js 16
    • The action now requires a minimum version of v2.285.0 for the Actions Runner.
    • If using GitHub Enterprise Server, the action requires GHES 3.4 or later.

What's Changed

New Contributors

Full Changelog: peter-evans/create-pull-request@v3.14.0...v4.0.0

v3.14.0: Create Pull Request v3.14.0

Compare Source

This release reverts a commit made to bump the runtime to node 16. It inadvertently caused an issue for users on GitHub Enterprise. Apologies. 🙇‍♂️

What's Changed

Full Changelog: peter-evans/create-pull-request@v3.13.0...v3.14.0

v3.13.0: Create Pull Request v3.13.0

Compare Source

What's Changed

New Contributors


Configuration

📅 Schedule: Branch creation - At any time (no schedule defined), Automerge - "before 4am on Monday" (UTC).

🚦 Automerge: Disabled by config. Please merge this manually once you are satisfied.

Rebasing: Whenever PR becomes conflicted, or you tick the rebase/retry checkbox.

🔕 Ignore: Close this PR and you won't be reminded about these updates again.


  • If you want to rebase/retry this PR, check this box

This PR has been generated by Renovate Bot.

@pulumi-renovate pulumi-renovate bot added dependencies Pull requests that update a dependency file impact/no-changelog-required This issue doesn't require a CHANGELOG update labels Nov 27, 2024
@pulumi-renovate pulumi-renovate bot force-pushed the renovate/peter-evans-create-pull-request-7.x branch from a0715e2 to 833de99 Compare November 27, 2024 18:21
Copy link
Contributor

@blampe blampe left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Breaking changes don't appear to impact us. This is nice:

The action now handles requests that have been rate-limited by GitHub

@pulumi-renovate
Copy link
Contributor Author

Edited/Blocked Notification

Renovate will not automatically rebase this PR, because it does not recognize the last commit author and assumes somebody else may have edited the PR.

You can manually request rebase by checking the rebase/retry box above.

⚠️ Warning: custom changes will be lost.

@blampe blampe added this pull request to the merge queue Nov 27, 2024
Merged via the queue into master with commit 3e77014 Nov 27, 2024
6 checks passed
@blampe blampe deleted the renovate/peter-evans-create-pull-request-7.x branch November 27, 2024 21:04
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
dependencies Pull requests that update a dependency file impact/no-changelog-required This issue doesn't require a CHANGELOG update
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant