Files
Sherif Emad d67d814144
lint / lint (push) Failing after 10s
lint / smoke (push) Skipped
init
2026-11-08 15:39:22 +02:00

12 lines
433 B
Bash
Executable File

#!/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})"