2026-10-16T13:51:20.105Z Diffinery runner: job gate (Main's current tip) for codician/diffinery@8994af4b8478 2026-10-16T13:51:20.122Z Runner: image diffinery-runner:2a3052eff7a82a483a7fde51, in ams19, WEUR, container cad177611f4170985c52103f544d5461110307aeae87e193d628c148f70f0905 2026-10-16T13:51:20.122Z Workspace: /workspace/diffinery 2026-10-16T13:51:20.164Z ##[group]Run set -euo pipefail 2026-10-16T13:51:20.164Z if [ "$GITHUB_EVENT_NAME" = workflow_dispatch ] && [ "$REF" != refs/heads/main ]; then 2026-10-16T13:51:20.164Z echo "::error::Deploy runs from main only (this run is on $REF)"; exit 1 2026-10-16T13:51:20.164Z fi 2026-10-16T13:51:20.164Z tip=$(curl -fsS "$GITHUB_API_URL/repos/$GITHUB_REPOSITORY/branches/main" -H "Authorization: Bearer $GH_TOKEN" -H "Accept: application/vnd.github+json" | jq -r .commit.sha) 2026-10-16T13:51:20.164Z if [ "$tip" = "$WANT" ]; then 2026-10-16T13:51:20.164Z echo "deploy=true" >> "$GITHUB_OUTPUT" 2026-10-16T13:51:20.164Z echo "deploying $WANT, main's tip" 2026-10-16T13:51:20.164Z else 2026-10-16T13:51:20.164Z # A later commit's CI run deploys it: a re-run of an old CI run deploys nothing. 2026-10-16T13:51:20.164Z echo "deploy=false" >> "$GITHUB_OUTPUT" 2026-10-16T13:51:20.164Z echo "::notice::not deploying $WANT: main is at $tip now, and that commit's own run deploys it" 2026-10-16T13:51:20.164Z fi 2026-10-16T13:51:20.164Z env: 2026-10-16T13:51:20.164Z GH_TOKEN: *** 2026-10-16T13:51:20.164Z WANT: 8994af4b8478912d2d3a5a9b16a2279fa6e42df4 2026-10-16T13:51:20.164Z REF: refs/heads/main 2026-10-16T13:51:20.164Z ##[endgroup] 2026-10-16T13:51:20.612Z deploying 8994af4b8478912d2d3a5a9b16a2279fa6e42df4, main's tip 2026-10-16T13:51:20.679Z Job completed with conclusion: success