From 354172ed7306502c97773d64be2d93a6de3907d7 Mon Sep 17 00:00:00 2001 From: Mike Harder Date: Thu, 5 Feb 2026 11:55:49 -0800 Subject: [PATCH 1/2] fix variable interpolation on mac --- .vscode/settings.json | 6 ++++++ disable-all-workflows.sh | 2 +- 2 files changed, 7 insertions(+), 1 deletion(-) create mode 100644 .vscode/settings.json diff --git a/.vscode/settings.json b/.vscode/settings.json new file mode 100644 index 0000000..24b2345 --- /dev/null +++ b/.vscode/settings.json @@ -0,0 +1,6 @@ +{ + "chat.tools.terminal.autoApprove": { + "od": true, + "hexdump": true + } +} \ No newline at end of file diff --git a/disable-all-workflows.sh b/disable-all-workflows.sh index 670b42b..edd7562 100755 --- a/disable-all-workflows.sh +++ b/disable-all-workflows.sh @@ -32,7 +32,7 @@ if [[ -z "$active_ids" ]]; then fi for id in $active_ids; do - echo -n "Disabling workflow ID $id… " + echo -n "Disabling workflow ID ${id}… " gh api \ --method PUT \ /repos/"$OWNER"/"$REPO"/actions/workflows/"$id"/disable \ From 21af956a9e0202b0bc524a325434e71ebad5615e Mon Sep 17 00:00:00 2001 From: Mike Harder Date: Thu, 5 Feb 2026 11:59:55 -0800 Subject: [PATCH 2/2] disable pager --- disable-all-workflows.sh | 3 +++ 1 file changed, 3 insertions(+) diff --git a/disable-all-workflows.sh b/disable-all-workflows.sh index edd7562..152697b 100755 --- a/disable-all-workflows.sh +++ b/disable-all-workflows.sh @@ -5,6 +5,9 @@ set -euo pipefail +# Disable pager for gh CLI to prevent interactive prompts +export GH_PAGER="" + if [[ $# -ne 2 ]]; then echo "Usage: $0 " exit 1