2026-10-16T13:56:58.483Z Diffinery runner: job gate (Main's current tip) for codician/diffinery@26c09b152037 2026-10-16T13:56:58.492Z Runner: image diffinery-runner:2a3052eff7a82a483a7fde51, in dus02, WEUR, container 2b978d5db391fcc33e7466434a58232e1548f03cd63a031e51aff292f8e2b31b 2026-10-16T13:56:58.492Z Workspace: /workspace/diffinery 2026-10-16T13:56:58.540Z ##[group]Run set -euo pipefail 2026-10-16T13:56:58.540Z if [ "$GITHUB_EVENT_NAME" = workflow_dispatch ] && [ "$REF" != refs/heads/main ]; then 2026-10-16T13:56:58.540Z echo "::error::Deploy runs from main only (this run is on $REF)"; exit 1 2026-10-16T13:56:58.540Z fi 2026-10-16T13:56:58.540Z 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:56:58.540Z if [ "$tip" = "$WANT" ]; then 2026-10-16T13:56:58.540Z echo "deploy=true" >> "$GITHUB_OUTPUT" 2026-10-16T13:56:58.540Z echo "deploying $WANT, main's tip" 2026-10-16T13:56:58.540Z else 2026-10-16T13:56:58.540Z # A later commit's CI run deploys it: a re-run of an old CI run deploys nothing. 2026-10-16T13:56:58.540Z echo "deploy=false" >> "$GITHUB_OUTPUT" 2026-10-16T13:56:58.540Z echo "::notice::not deploying $WANT: main is at $tip now, and that commit's own run deploys it" 2026-10-16T13:56:58.540Z fi 2026-10-16T13:56:58.540Z env: 2026-10-16T13:56:58.540Z GH_TOKEN: *** 2026-10-16T13:56:58.540Z WANT: 26c09b152037265bc1cbd6dfcb1905b028365c4d 2026-10-16T13:56:58.540Z REF: refs/heads/main 2026-10-16T13:56:58.540Z ##[endgroup] 2026-10-16T13:56:58.970Z deploying 26c09b152037265bc1cbd6dfcb1905b028365c4d, main's tip 2026-10-16T13:56:59.039Z Job completed with conclusion: success