Merge pull request 'fix(actions): repair proposer workflow yaml' (#253) from hotfix/fix-proposer-workflow into main
Reviewed-on: #253
This commit was merged in pull request #253.
This commit is contained in:
@@ -172,6 +172,8 @@ jobs:
|
|||||||
"$API_BASE/api/v1/repos/$OWNER/$REPO/pulls?state=open&limit=100" \
|
"$API_BASE/api/v1/repos/$OWNER/$REPO/pulls?state=open&limit=100" \
|
||||||
-o /tmp/open_pulls.json
|
-o /tmp/open_pulls.json
|
||||||
|
|
||||||
|
export TARGET_ISSUES="${TARGET_ISSUES:-}"
|
||||||
|
|
||||||
node --input-type=module - <<'NODE' >> /tmp/proposer.env
|
node --input-type=module - <<'NODE' >> /tmp/proposer.env
|
||||||
import fs from "node:fs";
|
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_URL=${JSON.stringify(String(first.html_url || first.url || ""))}`);
|
||||||
out.push(`OPEN_PR_BRANCH=${JSON.stringify(String(first?.head?.ref || ""))}`);
|
out.push(`OPEN_PR_BRANCH=${JSON.stringify(String(first?.head?.ref || ""))}`);
|
||||||
}
|
}
|
||||||
|
|
||||||
process.stdout.write(out.join("\n") + (out.length ? "\n" : ""));
|
process.stdout.write(out.join("\n") + (out.length ? "\n" : ""));
|
||||||
NODE
|
NODE
|
||||||
env:
|
|
||||||
TARGET_ISSUES: ${{ env.TARGET_ISSUES }}
|
|
||||||
|
|
||||||
- name: Comment issue if queued / skipped
|
- name: Comment issue if queued / skipped
|
||||||
if: ${{ always() }}
|
if: ${{ always() }}
|
||||||
|
|||||||
Reference in New Issue
Block a user