惯性聚合 高效追踪和阅读你感兴趣的博客、新闻、科技资讯
阅读原文 在惯性聚合中打开

推荐订阅源

SecWiki News
SecWiki News
量子位
The Cloudflare Blog
美团技术团队
T
The Exploit Database - CXSecurity.com
博客园 - 【当耐特】
Spread Privacy
Spread Privacy
P
Proofpoint News Feed
C
CXSECURITY Database RSS Feed - CXSecurity.com
博客园 - 三生石上(FineUI控件)
T
Tor Project blog
博客园 - 司徒正美
宝玉的分享
宝玉的分享
T
Threatpost
cs.CL updates on arXiv.org
cs.CL updates on arXiv.org
S
Secure Thoughts
T
Threat Research - Cisco Blogs
Hacker News: Ask HN
Hacker News: Ask HN
Jina AI
Jina AI
博客园 - 聂微东
A
Arctic Wolf
I
Intezer
cs.AI updates on arXiv.org
cs.AI updates on arXiv.org
Know Your Adversary
Know Your Adversary
K
KPMG report finds enterprise disconnect between AI and its ROI | CIO
爱范儿
爱范儿
Hugging Face - Blog
Hugging Face - Blog
C
Cyber Attacks, Cyber Crime and Cyber Security
小众软件
小众软件
T
Tailwind CSS Blog
The Hacker News
The Hacker News
L
LINUX DO - 最新话题
Hacker News - Newest:
Hacker News - Newest: "LLM"
WordPress大学
WordPress大学
S
SegmentFault 最新的问题
TaoSecurity Blog
TaoSecurity Blog
Project Zero
Project Zero
博客园 - 叶小钗
freeCodeCamp Programming Tutorials: Python, JavaScript, Git & More
Cloudbric
Cloudbric
雷峰网
雷峰网
让小产品的独立变现更简单 - ezindie.com
让小产品的独立变现更简单 - ezindie.com
大猫的无限游戏
大猫的无限游戏
D
Darknet – Hacking Tools, Hacker News & Cyber Security
T
Troy Hunt's Blog
酷 壳 – CoolShell
酷 壳 – CoolShell
V2EX - 技术
V2EX - 技术
The GitHub Blog
The GitHub Blog
Threat Intelligence Blog | Flashpoint
Threat Intelligence Blog | Flashpoint
P
Privacy & Cybersecurity Law Blog

Recent Commits to openclaw:main

test: merge chat side-result checks · openclaw/openclaw@ddd2c2a test: merge cron history checks · openclaw/openclaw@f7eb746 test: merge responsive navigation shell checks · openclaw/openclaw@c2e4b47 docs(changelog): add codex oauth fixes · openclaw/openclaw@628e6cd test: merge navigation routing cases · openclaw/openclaw@5d8cecb Tests: mock channel registry bundled fallback · openclaw/openclaw@2b08233 Secrets: avoid broad web search discovery for single plugin config · openclaw/openclaw@a464f59 test: merge config view browser checks · openclaw/openclaw@20cf511 fix(status): align oauth health with runtime · openclaw/openclaw@eed7116 feat: add macOS screen snapshots for monitor preview (#67954) thanks … · openclaw/openclaw@f377db1 fix: report shared auth scopes in hello-ok (#67810) thanks @BunsDev · openclaw/openclaw@0b6c39b Auto-reply: avoid eager bundled route fallback · openclaw/openclaw@3ea1bf4 Tests: narrow session binding contract setup · openclaw/openclaw@54e4e16 fix(macOS): enable undo/redo in webchat composer text input (#34962) · openclaw/openclaw@00951dc Tests: speed up channel setup promotion · openclaw/openclaw@82b529a Docs: refresh agent instructions · openclaw/openclaw@5775fe2 fix(auth): serialize OAuth refresh across agents to fix #26322 (#67876) · openclaw/openclaw@8e79080 test: allow ollama public surface boundary test · openclaw/openclaw@7d4f1a6 Docs: add test performance guardrails · openclaw/openclaw@89706d3 Tests: restore context-engine usage proof · openclaw/openclaw@e4c4f95 Tests: slim context engine runtime coverage · openclaw/openclaw@74c198f ci: retry failed custom checkouts · openclaw/openclaw@0ee5baf test: trim duplicate provider auth onboarding cases · openclaw/openclaw@1ffc02e matrix: fix sessions_spawn --thread subagent session spawning (#67643) · openclaw/openclaw@1ce2596 test: reduce auth choice fixture churn · openclaw/openclaw@857b9cd test: mock health status config boundaries · openclaw/openclaw@9d5ab4a test: mock onboard config io boundary · openclaw/openclaw@299694d test: mock legacy state plugin boundaries · openclaw/openclaw@2713089 test: mock channel install boundaries · openclaw/openclaw@b945248 test: mock doctor preview channel boundaries · openclaw/openclaw@b1a3ad4 test: trim doctor command hotspots · openclaw/openclaw@c66f16a test: isolate agent auth and spawn hotspots · openclaw/openclaw@9285935 test: stabilize MCP startup disposal race · openclaw/openclaw@dd9d2eb test: merge browser contract server suites · openclaw/openclaw@5817a76 test: narrow ollama provider discovery setup · openclaw/openclaw@a0d9598 build: declare qa-lab aimock runtime dependency · openclaw/openclaw@24431e5 test: speed up safe-bins exec harness · openclaw/openclaw@ee856ab test: preserve tool helpers in embedded runner mocks · openclaw/openclaw@acd86a0 refactor: move memory embeddings into provider plugins · openclaw/openclaw@77e6e4c test: reuse system-run temp fixtures · openclaw/openclaw@7e9ff0f test: trim hotspot wait overhead · openclaw/openclaw@12a59b0 Check: avoid duplicate boundary prep · openclaw/openclaw@baf11b8 test: reduce hotspot fixture overhead · openclaw/openclaw@3a59edd feat(ui): overhaul settings and slash command UX (#67819) thanks @Bun… · openclaw/openclaw@2cfb660 QA Matrix: exit cleanly on failure · openclaw/openclaw@42805d2 QA Matrix: isolate scenario coverage · openclaw/openclaw@7e659e1 Matrix: refresh crypto bootstrap state · openclaw/openclaw@94081d8 QA Lab: add provider registry · openclaw/openclaw@bb7e982 Matrix: add plugin changelog · openclaw/openclaw@4acab55 test: trim more hotspot overhead · openclaw/openclaw@f485311 test: trim remaining hotspot tests · openclaw/openclaw@6ba8626 test: narrow hotspot mocks · openclaw/openclaw@dbc8179 test: isolate gemini embedding request helpers · openclaw/openclaw@cd330f5 test: trim memory and mcp hotspots · openclaw/openclaw@fd48dfa test: slim provider registry mocks · openclaw/openclaw@2e08c77 test: harden Parallels update smoke · openclaw/openclaw@1a98090 feat: default Anthropic to Opus 4.7 · openclaw/openclaw@628b454 fix: harden node-host shell payload mutability checks · openclaw/openclaw@75c551e fix: land node-host approval binding for native binaries (#66731) (th… · openclaw/openclaw@29919bb CI: add daily schedule to CodeQL workflow (#67645) · openclaw/openclaw@69d25f5 fix(gateway): capture config hash after plugin auto-enable to prevent… · openclaw/openclaw@8c11210 fix: repair sanitized replay tool results before send (#67620) (thank… · openclaw/openclaw@c3c7a99 fix: restrict HTML timeout short-circuit to transient statuses · openclaw/openclaw@de129a6 fix: keep TUI watchdog bound to active run (#67401) (thanks @xantorres) · openclaw/openclaw@3525273 Gateway/skills: dedupe skills prefix-match + drop dead fallback on log · openclaw/openclaw@d7f489f Extensions/lmstudio: back off inference preload after consecutive fai… · openclaw/openclaw@b555214 TUI/streaming: add watchdog that resets the activity indicator after … · openclaw/openclaw@f44ab20 Agents/tool-loop: enable unknown-tool stream guard by default · openclaw/openclaw@36ed367 Gateway/skills: invalidate session skills snapshot on config write · openclaw/openclaw@b23d59a fix: classify HTML provider error pages correctly (#67642) (thanks @s… · openclaw/openclaw@e588e90 fix(skills): remove unused model-usage import (#67641) · openclaw/openclaw@55f05df docs(changelog): credit codex fix superseded PRs · openclaw/openclaw@e485f24 fix(openai-codex): normalize stale transport metadata in resolution a… · openclaw/openclaw@90801ba CI: pin Docker-related GitHub Actions (#67632) · openclaw/openclaw@f697b01 Android: modernize WebView and discovery API usage (#67627) · openclaw/openclaw@44a6e50 fix(deps): bump hono to 4.12.14 and @hono/node-server to 1.19.14 (GHS… · openclaw/openclaw@fbccc18 fix(deps): bump dompurify to 3.4.0 (#67614) · openclaw/openclaw@2c2dc00 CI: add explicit permissions to all workflow jobs (fixes code-scannin… · openclaw/openclaw@01b7516 fix: register bundled TTS providers and route overrides correctly (#6… · openclaw/openclaw@6ea3cdd fix: align host tilde paths with OS home (#62804) (thanks @stainlu) · openclaw/openclaw@ecfaf64 fix: flush creds queue before reconnect socket open (#67464) (thanks … · openclaw/openclaw@405c63f fix: strip standalone <function> tool call tags from visible text (#6… · openclaw/openclaw@78df859 fix(agents): preserve cli session metadata before transcript persist … · openclaw/openclaw@898fd04 docs(changelog): move cli transcript entry · openclaw/openclaw@c1817c6 fix(agents): normalize cli transcript api field · openclaw/openclaw@3a3fae0 docs(changelog): note cli transcript persistence · openclaw/openclaw@6c343f1 fix(agents): persist cli transcript turns · openclaw/openclaw@b8ef507 fix(msteams): harden security-sensitive flows (#65841) · openclaw/openclaw@c56b56e [Dashboard] Fix exec approval modal overflow for long command content… · openclaw/openclaw@053c5b0 Docs: remove QA changelog entry · openclaw/openclaw@7fd5771 QA: fix private runtime source loading (#67428) · openclaw/openclaw@d5933af docs(gateway): correct protocol.md schema path, hello-ok example, aut… · openclaw/openclaw@489404d CI: pin Node 22 runners to 22.18.0 · openclaw/openclaw@4ffa621 models.authStatus: normalize provider ids + tighten env-backed escape… · openclaw/openclaw@f2fdb9d Update CHANGELOG.md · openclaw/openclaw@7694a92 test(parallels): clean up npm update guard jobs · openclaw/openclaw@045ea7b Plugins: prefer scanDir override paths · openclaw/openclaw@b2974da fix(dreaming): default storage.mode to "separate" so phase blocks sto… · openclaw/openclaw@8c392f0 fix(memory-core): skip dreaming transcript ingestion via session stor… · openclaw/openclaw@a1b01f0 fix: dedupe replayed exec.finished node events (#67281) · openclaw/openclaw@5dcf526
fix(scripts): run gh without terminal formatting · openclaw/openclaw@f13a10c
vincentkoc · 2026-06-22 · via Recent Commits to openclaw:main

File tree

    • openclaw-pr-maintainer/scripts

    • openclaw-secret-scanning-maintainer/scripts

    • release-openclaw-ci/scripts

Original file line numberDiff line numberDiff line change

@@ -4,6 +4,14 @@ set -euo pipefail

44

repo="openclaw/openclaw"

55

months="12"

66

include_global="0"

7+

script_dir="$(cd "$(dirname "${BASH_SOURCE[0]}")" && pwd)"

8+

repo_root="$(git -C "$script_dir/../../../.." rev-parse --show-toplevel 2>/dev/null || true)"

9+

if [ -z "$repo_root" ]; then

10+

repo_root="$(cd "$script_dir/../../../.." && pwd)"

11+

fi

12+
13+

# shellcheck disable=SC1091

14+

source "$repo_root/scripts/lib/plain-gh.sh"

715
816

usage() {

917

printf 'Usage: %s [--repo owner/repo] [--months N] [--global] <github-login> [login...]\n' "$0"

@@ -18,6 +26,10 @@ need() {

1826

command -v "$1" >/dev/null 2>&1 || die "missing required command: $1"

1927

}

2028
29+

gh() {

30+

gh_plain "$@"

31+

}

32+
2133

date_utc_relative_months() {

2234

local count="$1"

2335

if date -u -v-"${count}"m +%Y-%m-%dT00:00:00Z >/dev/null 2>&1; then

@@ -131,7 +143,8 @@ done

131143

exit 2

132144

}

133145
134-

need gh

146+

OPENCLAW_GH_BIN="$(resolve_plain_gh_bin)" || die "missing required command: gh"

147+

export OPENCLAW_GH_BIN

135148

need jq

136149
137150

since_ts=$(date_utc_relative_months "$months")

Original file line numberDiff line numberDiff line change

@@ -4,12 +4,12 @@

44

* Usage: node secret-scanning.mjs <command> [options]

55

*/

66
7-

import { spawnSync } from "node:child_process";

87

import crypto from "node:crypto";

98

import fs from "node:fs";

109

import os from "node:os";

1110

import path from "node:path";

1211

import { pathToFileURL } from "node:url";

12+

import { spawnPlainGh } from "../../../../scripts/lib/plain-gh.mjs";

1313
1414

const REPO = "openclaw/openclaw";

1515

const REPO_URL = `https://github.com/${REPO}`;

@@ -29,7 +29,7 @@ function tmpFile(purpose) {

2929

}

3030
3131

function gh(args, { json = true, allowFailure = false } = {}) {

32-

const proc = spawnSync("gh", args, { encoding: "utf8", maxBuffer: 10 * 1024 * 1024 });

32+

const proc = spawnPlainGh(args, { encoding: "utf8", maxBuffer: 10 * 1024 * 1024 });

3333

if (proc.status !== 0 && !allowFailure) {

3434

fail(`gh ${args.slice(0, 3).join(" ")} failed:\n${(proc.stderr || proc.stdout || "").trim()}`);

3535

}

Original file line numberDiff line numberDiff line change

@@ -5,6 +5,7 @@

55

*/

66

import { execFileSync } from "node:child_process";

77

import process from "node:process";

8+

import { plainGhEnv, resolvePlainGhBin } from "../../../../scripts/lib/plain-gh.mjs";

89
910

const runId = process.argv[2];

1011

const repo = process.env.OPENCLAW_RELEASE_REPO || "openclaw/openclaw";

@@ -15,8 +16,9 @@ if (!runId) {

1516

}

1617
1718

function gh(args) {

18-

return execFileSync("gh", args, {

19+

return execFileSync(resolvePlainGhBin(), args, {

1920

encoding: "utf8",

21+

env: plainGhEnv(),

2022

stdio: ["ignore", "pipe", "pipe"],

2123

});

2224

}

@@ -32,14 +34,15 @@ function githubRestJson(pathSuffix) {

3234

"-lc",

3335

[

3436

"set -euo pipefail",

35-

'token="$(gh auth token)"',

37+

'token="$("$OPENCLAW_PLAIN_GH_BIN" auth token)"',

3638

'curl -fsS -H "Authorization: Bearer ${token}" -H "Accept: application/vnd.github+json" -H "X-GitHub-Api-Version: 2022-11-28" "${OPENCLAW_GITHUB_REST_URL}"',

3739

].join("\n"),

3840

],

3941

{

4042

encoding: "utf8",

4143

env: {

42-

...process.env,

44+

...plainGhEnv(),

45+

OPENCLAW_PLAIN_GH_BIN: resolvePlainGhBin(),

4346

OPENCLAW_GITHUB_REST_URL: `https://api.github.com/repos/${repo}/${pathSuffix}`,

4447

},

4548

maxBuffer: 16 * 1024 * 1024,

Original file line numberDiff line numberDiff line change

@@ -3,6 +3,7 @@

33

// Summarizes GitHub Actions run/job timings for CI analysis.

44

import { execFileSync } from "node:child_process";

55

import { parsePositiveInt } from "./lib/numeric-options.mjs";

6+

import { execPlainGh } from "./lib/plain-gh.mjs";

67
78

const DEFAULT_GITHUB_REPOSITORY = "openclaw/openclaw";

89

const RUN_JOBS_PAGE_SIZE = 20;

@@ -17,12 +18,17 @@ function parseJsonCommand(command, args, options = {}) {

1718

let lastError;

1819

for (let attempt = 0; attempt <= GH_JSON_RETRY_DELAYS_MS.length; attempt += 1) {

1920

try {

20-

return JSON.parse(

21-

execFileSync(command, args, {

22-

encoding: "utf8",

23-

...options,

24-

}),

25-

);

21+

const stdout =

22+

command === "gh"

23+

? execPlainGh(args, {

24+

encoding: "utf8",

25+

...options,

26+

})

27+

: execFileSync(command, args, {

28+

encoding: "utf8",

29+

...options,

30+

});

31+

return JSON.parse(stdout);

2632

} catch (error) {

2733

lastError = error;

2834

const message = error instanceof Error ? error.message : String(error);

@@ -216,8 +222,7 @@ export function selectLatestMainPushCiRun(runs, headSha = null) {

216222

}

217223
218224

function getLatestCiRunId() {

219-

const raw = execFileSync(

220-

"gh",

225+

const raw = execPlainGh(

221226

["run", "list", "--branch", "main", "--workflow", "CI", "--limit", "1", "--json", "databaseId"],

222227

{ encoding: "utf8" },

223228

);

@@ -240,8 +245,7 @@ function getRemoteMainSha() {

240245
241246

function getLatestMainPushCiRunId() {

242247

const headSha = getRemoteMainSha();

243-

const raw = execFileSync(

244-

"gh",

248+

const raw = execPlainGh(

245249

[

246250

"run",

247251

"list",

@@ -264,8 +268,7 @@ function getLatestMainPushCiRunId() {

264268

}

265269
266270

function listRecentSuccessfulCiRuns(limit) {

267-

const raw = execFileSync(

268-

"gh",

271+

const raw = execPlainGh(

269272

[

270273

"run",

271274

"list",

Original file line numberDiff line numberDiff line change

@@ -0,0 +1,84 @@

1+

import { execFileSync, spawnSync } from "node:child_process";

2+

import fs from "node:fs";

3+

import path from "node:path";

4+
5+

function isExecutable(filePath) {

6+

try {

7+

fs.accessSync(filePath, fs.constants.X_OK);

8+

return true;

9+

} catch {

10+

return false;

11+

}

12+

}

13+
14+

function pathEntries(env) {

15+

return String(env.PATH ?? "")

16+

.split(path.delimiter)

17+

.filter(Boolean);

18+

}

19+
20+

export function plainGhEnv(env = process.env) {

21+

const next = { ...env };

22+

delete next.CLICOLOR;

23+

delete next.CLICOLOR_FORCE;

24+

delete next.COLORTERM;

25+

delete next.GH_FORCE_TTY;

26+

next.NO_COLOR = "1";

27+

next.FORCE_COLOR = "0";

28+

next.CLICOLOR = "0";

29+

next.CLICOLOR_FORCE = "0";

30+

return next;

31+

}

32+
33+

export function resolvePlainGhBin(env = process.env) {

34+

if (env.OPENCLAW_GH_BIN) {

35+

if (isExecutable(env.OPENCLAW_GH_BIN)) {

36+

return env.OPENCLAW_GH_BIN;

37+

}

38+

throw new Error(`OPENCLAW_GH_BIN is not executable: ${env.OPENCLAW_GH_BIN}`);

39+

}

40+
41+

for (const candidate of ["/opt/homebrew/bin/gh", "/usr/local/bin/gh"]) {

42+

if (isExecutable(candidate)) {

43+

return candidate;

44+

}

45+

}

46+
47+

const homeBin = env.HOME ? path.join(env.HOME, "bin") : "";

48+

for (const entry of pathEntries(env)) {

49+

if (homeBin && entry === homeBin) {

50+

continue;

51+

}

52+

const candidate = path.join(entry, process.platform === "win32" ? "gh.exe" : "gh");

53+

if (isExecutable(candidate)) {

54+

return candidate;

55+

}

56+

}

57+
58+

for (const entry of pathEntries(env)) {

59+

const candidate = path.join(entry, process.platform === "win32" ? "gh.exe" : "gh");

60+

if (isExecutable(candidate)) {

61+

return candidate;

62+

}

63+

}

64+
65+

throw new Error("missing required command: gh");

66+

}

67+
68+

export function execPlainGh(args, options = {}) {

69+

const env = plainGhEnv(options.env ?? process.env);

70+

const ghBin = resolvePlainGhBin(env);

71+

return execFileSync(ghBin, args, {

72+

...options,

73+

env,

74+

});

75+

}

76+
77+

export function spawnPlainGh(args, options = {}) {

78+

const env = plainGhEnv(options.env ?? process.env);

79+

const ghBin = resolvePlainGhBin(env);

80+

return spawnSync(ghBin, args, {

81+

...options,

82+

env,

83+

});

84+

}

Original file line numberDiff line numberDiff line change

@@ -0,0 +1,70 @@

1+

#!/usr/bin/env bash

2+
3+

plain_gh_env() {

4+

env \

5+

-u CLICOLOR \

6+

-u CLICOLOR_FORCE \

7+

-u COLORTERM \

8+

-u GH_FORCE_TTY \

9+

NO_COLOR=1 \

10+

FORCE_COLOR=0 \

11+

CLICOLOR=0 \

12+

CLICOLOR_FORCE=0 \

13+

"$@"

14+

}

15+
16+

resolve_plain_gh_bin() {

17+

if [ -n "${OPENCLAW_GH_BIN:-}" ]; then

18+

if [ -x "$OPENCLAW_GH_BIN" ]; then

19+

printf '%s\n' "$OPENCLAW_GH_BIN"

20+

return 0

21+

fi

22+

printf 'OPENCLAW_GH_BIN is not executable: %s\n' "$OPENCLAW_GH_BIN" >&2

23+

return 1

24+

fi

25+
26+

local candidate

27+

for candidate in /opt/homebrew/bin/gh /usr/local/bin/gh; do

28+

if [ -x "$candidate" ]; then

29+

printf '%s\n' "$candidate"

30+

return 0

31+

fi

32+

done

33+
34+

if candidate=$(PATH="$(plain_gh_search_path)" type -P gh 2>/dev/null); then

35+

printf '%s\n' "$candidate"

36+

return 0

37+

fi

38+
39+

type -P gh 2>/dev/null

40+

}

41+
42+

plain_gh_search_path() {

43+

local path_value="${PATH:-}"

44+

local home_bin="${HOME:-}/bin"

45+

local item

46+

local output=""

47+

local first=true

48+

local path_parts=()

49+
50+

IFS=':' read -r -a path_parts <<<"$path_value"

51+

for item in "${path_parts[@]}"; do

52+

if [ -n "${HOME:-}" ] && [ "$item" = "$home_bin" ]; then

53+

continue

54+

fi

55+

if [ "$first" = "true" ]; then

56+

output="$item"

57+

first=false

58+

else

59+

output="${output}:$item"

60+

fi

61+

done

62+
63+

printf '%s\n' "$output"

64+

}

65+
66+

gh_plain() {

67+

local gh_bin

68+

gh_bin=$(resolve_plain_gh_bin) || return 1

69+

plain_gh_env "$gh_bin" "$@"

70+

}

Original file line numberDiff line numberDiff line change

@@ -21,6 +21,9 @@ if common_git_dir=$(git -C "$script_parent_dir" rev-parse --path-format=absolute

2121

fi

2222

fi

2323
24+

# shellcheck disable=SC1091

25+

source "$script_parent_dir/lib/plain-gh.sh"

26+
2427

usage() {

2528

cat <<USAGE

2629

Usage:

@@ -48,18 +51,27 @@ USAGE

4851

require_cmds() {

4952

local missing=()

5053

local cmd

51-

for cmd in git gh jq rg pnpm node; do

54+

for cmd in git jq rg pnpm node; do

5255

if ! command -v "$cmd" >/dev/null 2>&1; then

5356

missing+=("$cmd")

5457

fi

5558

done

59+

if ! OPENCLAW_GH_BIN="$(resolve_plain_gh_bin)"; then

60+

missing+=("gh")

61+

else

62+

export OPENCLAW_GH_BIN

63+

fi

5664
5765

if [ "${#missing[@]}" -gt 0 ]; then

5866

echo "Missing required command(s): ${missing[*]}"

5967

exit 1

6068

fi

6169

}

6270
71+

gh() {

72+

gh_plain "$@"

73+

}

74+
6375

# shellcheck disable=SC1091

6476

source "$script_parent_dir/pr-lib/worktree.sh"

6577

# shellcheck disable=SC1091

Original file line numberDiff line numberDiff line change

@@ -1,8 +1,8 @@

11

#!/usr/bin/env node

2-

import { execFileSync } from "node:child_process";

32

import { mkdirSync, writeFileSync } from "node:fs";

43

import path from "node:path";

54

import { isDirectRunUrl } from "./lib/direct-run.mjs";

5+

import { execPlainGh } from "./lib/plain-gh.mjs";

66
77

export const SCHEDULED_HOSTED_WORKFLOWS = [

88

"Blacksmith Testbox",

@@ -209,8 +209,7 @@ export function collectHostedGateEvidence({ sha, workflowRuns, changelogOnly = f

209209

}

210210
211211

function loadWorkflowRuns(repo, sha) {

212-

const raw = execFileSync(

213-

"gh",

212+

const raw = execPlainGh(

214213

["api", `repos/${repo}/actions/runs?head_sha=${sha}&per_page=100`, "--paginate", "--slurp"],

215214

{ encoding: "utf8", stdio: ["ignore", "pipe", "pipe"] },

216215

);

Original file line numberDiff line numberDiff line change

@@ -60,6 +60,7 @@ exit 64

6060

env: {

6161

...process.env,

6262

FAKE_GH_LOG: logPath,

63+

OPENCLAW_GH_BIN: ghPath,

6364

PATH: `${binDir}:${process.env.PATH ?? ""}`,

6465

},

6566

});