This commit is contained in:
Executable
+14
@@ -0,0 +1,14 @@
|
||||
#!/usr/bin/env bash
|
||||
# Prints a greeting and basic CI info.
|
||||
# Usage: hello.sh [name]
|
||||
# Inputs (args): name (optional, default "world")
|
||||
# Outputs: greeting on stdout
|
||||
set -euo pipefail
|
||||
|
||||
NAME="${1:-world}"
|
||||
|
||||
echo "Hello, ${NAME}!"
|
||||
echo "repository: ${GITHUB_REPOSITORY:-unknown}"
|
||||
echo "ref: ${GITHUB_REF:-unknown}"
|
||||
echo "sha: ${GITHUB_SHA:-unknown}"
|
||||
echo "run id: ${GITHUB_RUN_ID:-unknown}"
|
||||
Reference in New Issue
Block a user