Merge pull request 'fix(actions): repair proposer workflow yaml' (#253) from hotfix/fix-proposer-workflow into main
Some checks failed
CI / build-and-anchors (push) Successful in 48s
Deploy staging+live (annotations) / deploy (push) Successful in 1m0s
SMOKE / smoke (push) Successful in 4s
Proposer Apply (Queue) / apply-proposer (push) Failing after 4s

Reviewed-on: #253
This commit was merged in pull request #253.
This commit is contained in:
2026-03-16 00:42:17 +01:00

View File

@@ -172,6 +172,8 @@ jobs:
"$API_BASE/api/v1/repos/$OWNER/$REPO/pulls?state=open&limit=100" \
-o /tmp/open_pulls.json
export TARGET_ISSUES="${TARGET_ISSUES:-}"
node --input-type=module - <<'NODE' >> /tmp/proposer.env
import fs from "node:fs";
@@ -209,10 +211,9 @@ jobs:
out.push(`OPEN_PR_URL=${JSON.stringify(String(first.html_url || first.url || ""))}`);
out.push(`OPEN_PR_BRANCH=${JSON.stringify(String(first?.head?.ref || ""))}`);
}
process.stdout.write(out.join("\n") + (out.length ? "\n" : ""));
NODE
env:
TARGET_ISSUES: ${{ env.TARGET_ISSUES }}
- name: Comment issue if queued / skipped
if: ${{ always() }}
@@ -529,7 +530,7 @@ jobs:
head: `${process.env.OWNER}:${process.env.BRANCH}`,
allow_maintainer_edit: true
}));
NODE
NODE
)"
PR_JSON="$(curl -fsS -X POST \