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

fix: drop unnecessary fetch with unshallow on push-to-fork #2849

Merged
merged 1 commit into from
Apr 12, 2024

Conversation

peter-evans
Copy link
Owner

@peter-evans peter-evans commented Apr 12, 2024

Fixes #2847

Copy link
Contributor

Full test suite slash command (repository admin only)

/test repository=peter-evans/create-pull-request ref=reset-not-fetch build=true

@peter-evans
Copy link
Owner Author

peter-evans commented Apr 12, 2024

/test repository=peter-evans/create-pull-request ref=reset-not-fetch build=true

Command run output

@peter-evans peter-evans marked this pull request as ready for review April 12, 2024 09:05
@peter-evans peter-evans merged commit c55203c into main Apr 12, 2024
6 checks passed
@peter-evans peter-evans deleted the reset-not-fetch branch April 12, 2024 09:18
@infinisil
Copy link

infinisil commented Apr 12, 2024

Nice! Though this doesn't actually speed up my case (see https://github.com/NixOS/nixpkgs-check-by-name/actions/runs/8638430226/job/23758253502). Perhaps an explicit --depth=1 is missing?

fuxingloh referenced this pull request in fuxingloh/multi-labeler Apr 13, 2024
…291)

[![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://github.com/peter-evans/create-pull-request)
| action | patch | `v6.0.2` -> `v6.0.3` |

---

### Release Notes

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

###
[`v6.0.3`](https://github.com/peter-evans/create-pull-request/releases/tag/v6.0.3):
Create Pull Request v6.0.3

[Compare
Source](https://github.com/peter-evans/create-pull-request/compare/v6.0.2...v6.0.3)

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

#### What's Changed

- build(deps-dev): bump
[@&#8203;types/node](https://github.com/types/node) from 18.19.23 to
18.19.25 by [@&#8203;dependabot](https://github.com/dependabot) in
[https://github.com/peter-evans/create-pull-request/pull/2826](https://github.com/peter-evans/create-pull-request/pull/2826)
- build(deps-dev): bump
[@&#8203;types/node](https://github.com/types/node) from 18.19.25 to
18.19.26 by [@&#8203;dependabot](https://github.com/dependabot) in
[https://github.com/peter-evans/create-pull-request/pull/2831](https://github.com/peter-evans/create-pull-request/pull/2831)
- build(deps-dev): bump
[@&#8203;types/node](https://github.com/types/node) from 18.19.26 to
18.19.28 by [@&#8203;dependabot](https://github.com/dependabot) in
[https://github.com/peter-evans/create-pull-request/pull/2836](https://github.com/peter-evans/create-pull-request/pull/2836)
- build(deps-dev): bump
[@&#8203;types/node](https://github.com/types/node) from 18.19.28 to
18.19.31 by [@&#8203;dependabot](https://github.com/dependabot) in
[https://github.com/peter-evans/create-pull-request/pull/2842](https://github.com/peter-evans/create-pull-request/pull/2842)
- fix: drop unnecessary fetch with unshallow on push-to-fork by
[@&#8203;peter-evans](https://github.com/peter-evans) in
[https://github.com/peter-evans/create-pull-request/pull/2849](https://github.com/peter-evans/create-pull-request/pull/2849)

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

</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/fuxingloh/multi-labeler).

<!--renovate-debug:eyJjcmVhdGVkSW5WZXIiOiIzNy4yNjkuMiIsInVwZGF0ZWRJblZlciI6IjM3LjI2OS4yIiwidGFyZ2V0QnJhbmNoIjoibWFpbiJ9-->

Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
fuxingloh referenced this pull request in fuxingloh/cryptomatter Apr 13, 2024
…247)

[![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://github.com/peter-evans/create-pull-request)
| action | patch | `v6.0.2` -> `v6.0.3` |

---

### Release Notes

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

###
[`v6.0.3`](https://github.com/peter-evans/create-pull-request/releases/tag/v6.0.3):
Create Pull Request v6.0.3

[Compare
Source](https://github.com/peter-evans/create-pull-request/compare/v6.0.2...v6.0.3)

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

#### What's Changed

- build(deps-dev): bump
[@&#8203;types/node](https://github.com/types/node) from 18.19.23 to
18.19.25 by [@&#8203;dependabot](https://github.com/dependabot) in
[https://github.com/peter-evans/create-pull-request/pull/2826](https://github.com/peter-evans/create-pull-request/pull/2826)
- build(deps-dev): bump
[@&#8203;types/node](https://github.com/types/node) from 18.19.25 to
18.19.26 by [@&#8203;dependabot](https://github.com/dependabot) in
[https://github.com/peter-evans/create-pull-request/pull/2831](https://github.com/peter-evans/create-pull-request/pull/2831)
- build(deps-dev): bump
[@&#8203;types/node](https://github.com/types/node) from 18.19.26 to
18.19.28 by [@&#8203;dependabot](https://github.com/dependabot) in
[https://github.com/peter-evans/create-pull-request/pull/2836](https://github.com/peter-evans/create-pull-request/pull/2836)
- build(deps-dev): bump
[@&#8203;types/node](https://github.com/types/node) from 18.19.28 to
18.19.31 by [@&#8203;dependabot](https://github.com/dependabot) in
[https://github.com/peter-evans/create-pull-request/pull/2842](https://github.com/peter-evans/create-pull-request/pull/2842)
- fix: drop unnecessary fetch with unshallow on push-to-fork by
[@&#8203;peter-evans](https://github.com/peter-evans) in
[https://github.com/peter-evans/create-pull-request/pull/2849](https://github.com/peter-evans/create-pull-request/pull/2849)

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

</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/fuxingloh/crypto-frontmatter).

<!--renovate-debug:eyJjcmVhdGVkSW5WZXIiOiIzNy4yNjkuMiIsInVwZGF0ZWRJblZlciI6IjM3LjI2OS4yIiwidGFyZ2V0QnJhbmNoIjoibWFpbiJ9-->

Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Don't require a deep fetch for forks
2 participants