From aac28316c0ee40c84629c8fc3b7369ab3c9b05d7 Mon Sep 17 00:00:00 2001 From: tamakiii-doppelganger Date: Fri, 8 May 2026 16:54:40 +0900 Subject: [PATCH] gh-webhooks: read config from github/webhooks/webhooks.json Coordinated with the myfiles 4c PR which moves webhooks.json into a github/webhooks/ subdir alongside its schema, mirroring the existing github/apps/ layout. Related to tamakiii/meta#961 Related to tamakiii/meta#965 --- bin/gh-webhooks | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/bin/gh-webhooks b/bin/gh-webhooks index d8399418..654b5570 100755 --- a/bin/gh-webhooks +++ b/bin/gh-webhooks @@ -8,10 +8,10 @@ set -euo pipefail # gh-webhooks status — show current webhook state per repo # gh-webhooks diff — show what sync would change # -# Config: $MYFILES/github/webhooks.json +# Config: $MYFILES/github/webhooks/webhooks.json MYFILES="${HOME}/.myfiles" -CONFIG="${MYFILES}/github/webhooks.json" +CONFIG="${MYFILES}/github/webhooks/webhooks.json" if [[ ! -f "$CONFIG" ]]; then echo "gh-webhooks: config not found: $CONFIG" >&2