mirror of
https://github.com/kevinveenbirkenbach/computer-playbook.git
synced 2026-11-06 19:01:54 +00:00
Move the inline fork-prerequisites result assertion out of the fork-prereqs-ready job into scripts/github/gate/fork_prereqs.sh (result passed via the RESULT env var; the job now checks out the repo). The staged diff also drops the code-quality-gate and test-install-gate aggregator jobs and wires their members (lint, test, security-codeql, test-install-make, test-install-pkgmgr) directly into the done job's needs, which still hard-fails on any upstream failure or cancellation. Co-Authored-By: Claude Opus 4.8 (1M context) <noreply@anthropic.com>
15 lines
340 B
Bash
Executable File
15 lines
340 B
Bash
Executable File
#!/usr/bin/env bash
|
|
#
|
|
# Inputs via env:
|
|
# RESULT the wait-fork-prereq-run job result (needs.<job>.result).
|
|
|
|
set -euo pipefail
|
|
|
|
: "${RESULT:?}"
|
|
|
|
if [[ "${RESULT}" != "success" && "${RESULT}" != "skipped" ]]; then
|
|
echo "Fork prerequisites are not ready. wait-fork-prereq-run=${RESULT}" >&2
|
|
exit 1
|
|
fi
|
|
echo "Fork prerequisites are ready."
|