Skip to content

Normalize repository owner casing to fix GitHub PR integration#5495

Merged
stefanhaller merged 1 commit into
jesseduffield:masterfrom
bradly0cjw:fix-case-insensitive
Apr 10, 2026
Merged

Normalize repository owner casing to fix GitHub PR integration#5495
stefanhaller merged 1 commit into
jesseduffield:masterfrom
bradly0cjw:fix-case-insensitive

Conversation

@bradly0cjw

Copy link
Copy Markdown
Contributor

PR Description

Close #5494

Normalizes the repository owner to lowercase during the PR mapping.
This ensures that PR icons and integration features work correctly even when the local git remote URL casing differs from the official repository casing on GitHub.

Please check if the PR fulfills these requirements

  • Cheatsheets are up-to-date (run go generate ./...)
  • Code has been formatted (see here)
  • Tests have been added/updated (see here for the integration test guide)
  • Text is internationalised (see here)
  • If a new UserConfig entry was added, make sure it can be hot-reloaded (see here)
  • Docs have been updated if necessary
  • You've read through your own file changes for silly mistakes etc

Normalizes the repository owner to lowercase during the PR
mapping.
This ensures that PR icons and integration features work correctly even
when the local git remote URL casing differs from the official
repository casing on GitHub.
@codacy-production

Copy link
Copy Markdown

Up to standards ✅

🟢 Issues 0 issues

Results:
0 new issues

View in Codacy

🟢 Metrics 1 duplication

Metric Results
Duplication 1

View in Codacy

TIP This summary will be updated as you push new changes. Give us feedback

@stefanhaller stefanhaller added the bug Something isn't working label Apr 10, 2026
@stefanhaller stefanhaller enabled auto-merge April 10, 2026 16:47
@stefanhaller

Copy link
Copy Markdown
Collaborator

Makes sense, thanks.

@stefanhaller stefanhaller merged commit 38dd035 into jesseduffield:master Apr 10, 2026
14 checks passed
tmeijn pushed a commit to tmeijn/dotfiles that referenced this pull request Apr 15, 2026
This MR contains the following updates:

| Package | Update | Change |
|---|---|---|
| [jesseduffield/lazygit](https://github.com/jesseduffield/lazygit) | patch | `v0.61.0` → `v0.61.1` |

MR created with the help of [el-capitano/tools/renovate-bot](https://gitlab.com/el-capitano/tools/renovate-bot).

**Proposed changes to behavior should be submitted there as MRs.**

---

### Release Notes

<details>
<summary>jesseduffield/lazygit (jesseduffield/lazygit)</summary>

### [`v0.61.1`](https://github.com/jesseduffield/lazygit/releases/tag/v0.61.1)

[Compare Source](jesseduffield/lazygit@v0.61.0...v0.61.1)

<!-- Release notes generated using configuration in .github/release.yml at v0.61.1 -->

This release has just a few fixes for the recently added GitHub pull requests feature.

#### What's Changed

##### Enhancements 🔥

- Hide closed pull requests on main branches by [@&#8203;stefanhaller](https://github.com/stefanhaller) in [#&#8203;5501](jesseduffield/lazygit#5501)

##### Fixes 🔧

- Normalize repository owner casing to fix GitHub MR integration by [@&#8203;bradly0cjw](https://github.com/bradly0cjw) in [#&#8203;5495](jesseduffield/lazygit#5495)
- Don't default the base repo for pull requests to "origin" by [@&#8203;stefanhaller](https://github.com/stefanhaller) in [#&#8203;5508](jesseduffield/lazygit#5508)

##### Maintenance ⚙️

- Security fix: avoid using `${{ }}` variable interpolation in `run:` steps by [@&#8203;orbisai0security](https://github.com/orbisai0security) in [#&#8203;5487](jesseduffield/lazygit#5487)
- Add a justfile by [@&#8203;stefanhaller](https://github.com/stefanhaller) in [#&#8203;5490](jesseduffield/lazygit#5490)

#### New Contributors

- [@&#8203;orbisai0security](https://github.com/orbisai0security) made their first contribution in [#&#8203;5487](jesseduffield/lazygit#5487)
- [@&#8203;bradly0cjw](https://github.com/bradly0cjw) made their first contribution in [#&#8203;5495](jesseduffield/lazygit#5495)

**Full Changelog**: <jesseduffield/lazygit@v0.61.0...v0.61.1>

</details>

---

### Configuration

📅 **Schedule**: (UTC)

- Branch creation
  - At any time (no schedule defined)
- Automerge
  - At any time (no schedule defined)

🚦 **Automerge**: Enabled.

♻ **Rebasing**: Whenever MR is behind base branch, or you tick the rebase/retry checkbox.

🔕 **Ignore**: Close this MR and you won't be reminded about this update again.

---

 - [ ] <!-- rebase-check -->If you want to rebase/retry this MR, check this box

---

This MR has been generated by [Renovate Bot](https://github.com/renovatebot/renovate).
<!--renovate-debug:eyJjcmVhdGVkSW5WZXIiOiI0My4xMTMuMCIsInVwZGF0ZWRJblZlciI6IjQzLjExMy4wIiwidGFyZ2V0QnJhbmNoIjoibWFpbiIsImxhYmVscyI6WyJSZW5vdmF0ZSBCb3QiLCJhdXRvbWF0aW9uOmJvdC1hdXRob3JlZCIsImRlcGVuZGVuY3ktdHlwZTo6cGF0Y2giXX0=-->
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

bug Something isn't working

Projects

None yet

Development

Successfully merging this pull request may close these issues.

PR integration fails to map local branch when remote URL casing differs from upstream

2 participants