set -o pipefail causes head -1 to fail the pipeline when git log is still producing output. The || fallback then appends a second line. Fix: capture first SHA separately with || true. |
||
|---|---|---|
| .. | ||
| planner-agent.sh | ||
| planner-poll.sh | ||
set -o pipefail causes head -1 to fail the pipeline when git log is still producing output. The || fallback then appends a second line. Fix: capture first SHA separately with || true. |
||
|---|---|---|
| .. | ||
| planner-agent.sh | ||
| planner-poll.sh | ||