From f750fdf4ffc390b265196149f985d89c573ba2e0 Mon Sep 17 00:00:00 2001 From: "renovate[bot]" <29139614+renovate[bot]@users.noreply.github.com> Date: Fri, 2 Feb 2024 10:00:37 +0800 Subject: [PATCH] bump(deps): update peter-evans/create-pull-request action to v6 (#174) MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit [![Mend Renovate](https://app.renovatebot.com/images/banner.svg)](https://renovatebot.com) This PR contains the following updates: | Package | Type | Update | Change | |---|---|---|---| | [peter-evans/create-pull-request](https://togithub.com/peter-evans/create-pull-request) | action | major | `v5.0.2` -> `v6.0.0` | --- ### Release Notes
peter-evans/create-pull-request (peter-evans/create-pull-request) ### [`v6.0.0`](https://togithub.com/peter-evans/create-pull-request/releases/tag/v6.0.0): Create Pull Request v6.0.0 [Compare Source](https://togithub.com/peter-evans/create-pull-request/compare/v5.0.2...v6.0.0) #### 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](https://togithub.com/actions/runner/releases/tag/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)](https://docs.github.com/en/github/authenticating-to-github/creating-a-personal-access-token) 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 - Update distribution by [@​actions-bot](https://togithub.com/actions-bot) in [https://github.com/peter-evans/create-pull-request/pull/2086](https://togithub.com/peter-evans/create-pull-request/pull/2086) - fix crazy-max/ghaction-import-gp parameters by [@​fharper](https://togithub.com/fharper) in [https://github.com/peter-evans/create-pull-request/pull/2177](https://togithub.com/peter-evans/create-pull-request/pull/2177) - Update distribution by [@​actions-bot](https://togithub.com/actions-bot) in [https://github.com/peter-evans/create-pull-request/pull/2364](https://togithub.com/peter-evans/create-pull-request/pull/2364) - Use checkout v4 by [@​okuramasafumi](https://togithub.com/okuramasafumi) in [https://github.com/peter-evans/create-pull-request/pull/2521](https://togithub.com/peter-evans/create-pull-request/pull/2521) - Note about `delete-branch` by [@​dezren39](https://togithub.com/dezren39) in [https://github.com/peter-evans/create-pull-request/pull/2631](https://togithub.com/peter-evans/create-pull-request/pull/2631) - 98 dependency updates by [@​dependabot](https://togithub.com/dependabot) #### New Contributors - [@​fharper](https://togithub.com/fharper) made their first contribution in [https://github.com/peter-evans/create-pull-request/pull/2177](https://togithub.com/peter-evans/create-pull-request/pull/2177) - [@​okuramasafumi](https://togithub.com/okuramasafumi) made their first contribution in [https://github.com/peter-evans/create-pull-request/pull/2521](https://togithub.com/peter-evans/create-pull-request/pull/2521) - [@​dezren39](https://togithub.com/dezren39) made their first contribution in [https://github.com/peter-evans/create-pull-request/pull/2631](https://togithub.com/peter-evans/create-pull-request/pull/2631) **Full Changelog**: https://github.com/peter-evans/create-pull-request/compare/v5.0.2...v6.0.0
--- ### Configuration 📅 **Schedule**: Branch creation - At any time (no schedule defined), Automerge - At any time (no schedule defined). 🚦 **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 this update again. --- - [ ] If you want to rebase/retry this PR, check this box --- This PR has been generated by [Mend Renovate](https://www.mend.io/free-developer-tools/renovate/). View repository job log [here](https://developer.mend.io/github/levaintech/frontmatter). --------- Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com> Co-authored-by: Fuxing Loh --- .github/workflows/sync.yml | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/.github/workflows/sync.yml b/.github/workflows/sync.yml index 8afe8a174..2c16d776e 100644 --- a/.github/workflows/sync.yml +++ b/.github/workflows/sync.yml @@ -61,13 +61,13 @@ jobs: app_id: ${{ secrets.FRONTMATTER_BOT_APP_ID }} private_key: ${{ secrets.FRONTMATTER_BOT_PRIVATE_KEY }} - - uses: peter-evans/create-pull-request@153407881ec5c347639a548ade7d8ad1d6740e38 # v5.0.2 + - uses: peter-evans/create-pull-request@b1ddad2c994a25fbc81a28b3ec0e368bb2021c50 # v6.0.0 with: token: ${{ steps.app.outputs.token }} commit-message: 'chore(sync): ${{ matrix.repo }}' title: 'chore(sync): ${{ matrix.repo }}' - committer: Frontmatter Bot - author: Frontmatter Bot + committer: Frontmatter Bot <421463+frontmatter-bot[bot]@users.noreply.github.com> + author: Frontmatter Bot <421463+frontmatter-bot[bot]@users.noreply.github.com> body: | #### What this PR does / why we need it: