[PR #7393] [MERGED] [AI] Improve post-checkout hook to handle git worktree creation #48951

Closed
opened 2026-04-26 10:49:14 -05:00 by GiteaMirror · 0 comments
Owner

📋 Pull Request Information

Original PR: https://github.com/actualbudget/actual/pull/7393
Author: @MatissJanis
Created: 4/5/2026
Status: Merged
Merged: 4/7/2026
Merged by: @MatissJanis

Base: masterHead: claude/add-worktree-creation-hook-2bXXv


📝 Commits (5)

  • 73401df [AI] Add worktree creation hook to run yarn install
  • 65732ca [AI] Move worktree setup hook to husky post-checkout for universal support
  • c23cfa4 Add release notes for PR #7393
  • 68968af Update 7393.md
  • b707494 [AI] Fix post-checkout hook to propagate yarn install failures

📊 Changes

2 files changed (+14 additions, -0 deletions)

View changed files

📝 .husky/post-checkout (+8 -0)
upcoming-release-notes/7393.md (+6 -0)

📄 Description

Description

When creating a new worktree - yarn install is not ran automatically. Lets change that.. lets run it automatically when a new worktree is created.

N/A

Testing

N/A

Checklist

  • Release notes added (if applicable)
  • No obvious regressions in affected areas
  • Self-review has been performed - I understand what each change in the code does and why it is needed

🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.

## 📋 Pull Request Information **Original PR:** https://github.com/actualbudget/actual/pull/7393 **Author:** [@MatissJanis](https://github.com/MatissJanis) **Created:** 4/5/2026 **Status:** ✅ Merged **Merged:** 4/7/2026 **Merged by:** [@MatissJanis](https://github.com/MatissJanis) **Base:** `master` ← **Head:** `claude/add-worktree-creation-hook-2bXXv` --- ### 📝 Commits (5) - [`73401df`](https://github.com/actualbudget/actual/commit/73401df4e8f0bb6634c2a380b9dd61ef73413928) [AI] Add worktree creation hook to run yarn install - [`65732ca`](https://github.com/actualbudget/actual/commit/65732cae8166da166349ad704ab8801ce24f7956) [AI] Move worktree setup hook to husky post-checkout for universal support - [`c23cfa4`](https://github.com/actualbudget/actual/commit/c23cfa47609c5633e4e6cd996d48194557b92509) Add release notes for PR #7393 - [`68968af`](https://github.com/actualbudget/actual/commit/68968af004f942565529a133aa5b6d13ace7c247) Update 7393.md - [`b707494`](https://github.com/actualbudget/actual/commit/b7074941ee4d5f8ae9b898600338941074a6bb8b) [AI] Fix post-checkout hook to propagate yarn install failures ### 📊 Changes **2 files changed** (+14 additions, -0 deletions) <details> <summary>View changed files</summary> 📝 `.husky/post-checkout` (+8 -0) ➕ `upcoming-release-notes/7393.md` (+6 -0) </details> ### 📄 Description ## Description When creating a new worktree - `yarn install` is not ran automatically. Lets change that.. lets run it automatically when a new worktree is created. ## Related issue(s) N/A ## Testing N/A ## Checklist - [x] Release notes added (if applicable) - [x] No obvious regressions in affected areas - [x] Self-review has been performed - I understand what each change in the code does and why it is needed --- <sub>🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.</sub>
GiteaMirror added the pull-request label 2026-04-26 10:49:14 -05:00
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: github-starred/actual#48951