From e91665bf3fb7c6d076cd7f43ca3b8d4f73f6c644 Mon Sep 17 00:00:00 2001 From: Jason Ross Date: Sun, 27 Sep 2026 15:41:44 -0500 Subject: [PATCH] fix(update-nvim-config): pull over HTTPS The nvim-config remote is git@github.com, and the SSH key lives in the login shell's ssh-agent, which launchd jobs don't see. launchd's own agent has no keys, so every scheduled pull failed with "Permission denied (publickey)". The repo is public, so rewrite GitHub SSH URLs to HTTPS for this job through GIT_CONFIG_* variables. The checkout's remote stays SSH for interactive use. --- LaunchAgents/com.user.update-nvim-config.plist | 7 +++++++ 1 file changed, 7 insertions(+) diff --git a/LaunchAgents/com.user.update-nvim-config.plist b/LaunchAgents/com.user.update-nvim-config.plist index 18910ea..2cdedfd 100644 --- a/LaunchAgents/com.user.update-nvim-config.plist +++ b/LaunchAgents/com.user.update-nvim-config.plist @@ -19,6 +19,13 @@ PATH /opt/homebrew/bin:/usr/local/bin:/usr/bin:/bin:/usr/sbin:/sbin + + GIT_CONFIG_COUNT + 1 + GIT_CONFIG_KEY_0 + url.https://github.com/.insteadOf + GIT_CONFIG_VALUE_0 + git@github.com: StartCalendarInterval