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
1 change: 1 addition & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -15,6 +15,7 @@ Please ADD ALL Changes to the UNRELEASED SECTION and not a specific release
- Replace raw echo with output helpers in linux/install-fp
### Changed
- GEOIP - Updated GEOIP DB from MaxMind (2026-06-03)
- Replace raw echo with standard output helpers (die/info/success) in github/cancel-workflows
### Deprecated
### Removed
### Deployment Changes
Expand Down
19 changes: 12 additions & 7 deletions github/cancel-workflows
Original file line number Diff line number Diff line change
@@ -1,15 +1,18 @@
#!/bin/bash

info() {
echo "$@"
}
#!/bin/sh

die() {
echo
echo "$@"
printf '\n\033[31m✗\033[0m %s\n' "$*" >&2
exit 1
}

success() {
printf '\n\033[32m✓\033[0m %s\n' "$*"
}

info() {
printf '\n\033[32m→\033[0m %s\n' "$*"
}

BASEDIR="$(dirname "$(readlink -f "$0")")"
info "Script Dir: $BASEDIR"

Expand Down Expand Up @@ -65,3 +68,5 @@ EOF

info "Total $c in this batch"
done

success "All queued workflows cancelled"
Loading