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

v5 #1792

Merged
merged 19 commits into from Apr 4, 2023
Merged

v5 #1792

merged 19 commits into from Apr 4, 2023

Conversation

peter-evans
Copy link
Owner

@peter-evans peter-evans commented Apr 4, 2023

Fixes: #1170
Fixes: #1336
Fixes: #1488
Fixes: #1638

@github-actions
Copy link
Contributor

github-actions bot commented Apr 4, 2023

Full test suite slash command (repository admin only)

/test repository=peter-evans/create-pull-request ref=v5-beta build=true

@peter-evans
Copy link
Owner Author

peter-evans commented Apr 4, 2023

/test repository=peter-evans/create-pull-request ref=v5-beta build=true

Command run output

@peter-evans
Copy link
Owner Author

peter-evans commented Apr 4, 2023

/test repository=peter-evans/create-pull-request ref=v5-beta build=true

Command run output

@peter-evans peter-evans merged commit 5b4a9f6 into main Apr 4, 2023
6 checks passed
@peter-evans peter-evans deleted the v5-beta branch June 14, 2023 01:14
fuxingloh pushed a commit to levaintech/keychain that referenced this pull request Jun 19, 2023
[![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 | `v4.2.4` -> `v5.0.2` |

---

### Release Notes

<details>
<summary>peter-evans/create-pull-request</summary>

###
[`v5.0.2`](https://togithub.com/peter-evans/create-pull-request/releases/tag/v5.0.2):
Create Pull Request v5.0.2

[Compare
Source](https://togithub.com/peter-evans/create-pull-request/compare/v5.0.1...v5.0.2)

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

- fix: specify head repo by
[@&#8203;peter-evans](https://togithub.com/peter-evans) in
[peter-evans/create-pull-request#2044
- 20 dependency updates by
[@&#8203;dependabot](https://togithub.com/dependabot)

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

###
[`v5.0.1`](https://togithub.com/peter-evans/create-pull-request/releases/tag/v5.0.1):
Create Pull Request v5.0.1

[Compare
Source](https://togithub.com/peter-evans/create-pull-request/compare/v5.0.0...v5.0.1)

##### What's Changed

- fix: truncate body if exceeds max length by
[@&#8203;peter-evans](https://togithub.com/peter-evans) in
[peter-evans/create-pull-request#1915
- 12 dependency updates by
[@&#8203;dependabot](https://togithub.com/dependabot)

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

###
[`v5.0.0`](https://togithub.com/peter-evans/create-pull-request/releases/tag/v5.0.0):
Create Pull Request v5.0.0

[Compare
Source](https://togithub.com/peter-evans/create-pull-request/compare/v4.2.4...v5.0.0)

##### 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
[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](https://twitter.com/peterevans0/status/1638463617686470657?s=20)
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](https://togithub.com/sponsors/peter-evans).

##### What's Changed

- v5 by [@&#8203;peter-evans](https://togithub.com/peter-evans) in
[peter-evans/create-pull-request#1792
- 15 dependency updates by
[@&#8203;dependabot](https://togithub.com/dependabot)

**Full Changelog**:
peter-evans/create-pull-request@v4.2.4...v5.0.0

</details>

---

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

---

- [ ] <!-- rebase-check -->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/keychain).

<!--renovate-debug:eyJjcmVhdGVkSW5WZXIiOiIzNS4xMzEuMCIsInVwZGF0ZWRJblZlciI6IjM1LjEzMS4wIiwidGFyZ2V0QnJhbmNoIjoibWFpbiJ9-->

Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
aleksandrychev pushed a commit to aleksandrychev/create-pull-request that referenced this pull request Mar 4, 2024
* feat: restore working base branch and uncommitted changes

* docs: uncommitted changes are stashed and restored

* docs: add major version notes

* fix: update package version

* fix: update package-lock

* feat: revise proxy implementation

* docs: add notes for the revised proxy implementation

* feat: set and remove git safe directory

* docs: add notes for the git safe directory feature

* fix: use base url for proxy check

* feat: determine the git dir with rev-parse

* build: update package lock

* fix: remove support for ghes alpha

* feat: revise handling of team reviewers

* docs: update notes

* feat: body-path

* docs: update to v5

* docs: update to v5

* build: fix package lock
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
1 participant