Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
6 changes: 6 additions & 0 deletions .vscode/settings.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,6 @@
{
"chat.tools.terminal.autoApprove": {
"od": true,
"hexdump": true
}
}
Comment thread
mikeharder marked this conversation as resolved.
5 changes: 4 additions & 1 deletion disable-all-workflows.sh
Original file line number Diff line number Diff line change
Expand Up @@ -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 <owner> <repo>"
exit 1
Expand Down Expand Up @@ -32,7 +35,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}… "
Comment thread
mikeharder marked this conversation as resolved.
gh api \
--method PUT \
/repos/"$OWNER"/"$REPO"/actions/workflows/"$id"/disable \
Expand Down