This commit is contained in:
Executable
+11
@@ -0,0 +1,11 @@
|
||||
#!/usr/bin/env bash
|
||||
# Prints a notification line (stub: replace with a webhook call later).
|
||||
# Usage: notify.sh <status> <message>
|
||||
# Inputs (args): status (required), message (required)
|
||||
# Outputs: one line on stdout
|
||||
set -euo pipefail
|
||||
|
||||
STATUS="${1:?usage: notify.sh <status> <message>}"
|
||||
MESSAGE="${2:?usage: notify.sh <status> <message>}"
|
||||
|
||||
echo "[notify] ${STATUS}: ${MESSAGE} (${GITHUB_REPOSITORY:-unknown} @ ${GITHUB_SHA:-unknown})"
|
||||
Reference in New Issue
Block a user