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

推荐订阅源

WordPress大学
WordPress大学
Last Week in AI
Last Week in AI
U
Unit 42
aimingoo的专栏
aimingoo的专栏
Engineering at Meta
Engineering at Meta
博客园 - 聂微东
小众软件
小众软件
Cyber Security Advisories - MS-ISAC
Cyber Security Advisories - MS-ISAC
Recent Announcements
Recent Announcements
罗磊的独立博客
MongoDB | Blog
MongoDB | Blog
Stack Overflow Blog
Stack Overflow Blog
博客园_首页
M
MIT News - Artificial intelligence
博客园 - 司徒正美
T
The Blog of Author Tim Ferriss
D
DataBreaches.Net
IT之家
IT之家
C
Check Point Blog
酷 壳 – CoolShell
酷 壳 – CoolShell
T
Tailwind CSS Blog
D
Docker
Microsoft Security Blog
Microsoft Security Blog
Google DeepMind News
Google DeepMind News

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
ci: authenticate plugin npm publishes · openclaw/openclaw...
steipete · 2026-05-02 · via Recent Commits to openclaw:main

@@ -62,7 +62,6 @@ echo "Current beta dist-tag: ${current_beta_version:-<missing>}"

6262

echo "Resolved release channel: ${release_channel}"

6363

echo "Resolved publish tag: ${publish_tag}"

6464

echo "Resolved mirror dist-tags: ${mirror_dist_tags_csv:-<none>}"

65-

echo "Publish auth: GitHub OIDC trusted publishing"

6665

echo "Mirror dist-tag auth source: ${mirror_auth_source}"

6766

echo "Mirror dist-tag auth requirement: ${mirror_auth_requirement}"

6867

@@ -75,6 +74,13 @@ case "${mirror_auth_source}" in

7574

mirror_auth_token="${NPM_TOKEN:-}"

7675

;;

7776

esac

77+

publish_auth_token="${mirror_auth_token}"

78+

publish_auth_source="${mirror_auth_source}"

79+

if [[ -n "${publish_auth_token}" ]]; then

80+

echo "Publish auth: ${publish_auth_source} with provenance"

81+

else

82+

echo "Publish auth: GitHub OIDC trusted publishing"

83+

fi

78847985

if [[ "${mirror_auth_requirement}" == "required" && -z "${mirror_auth_token}" ]]; then

8086

echo "npm dist-tag mirroring requires explicit npm auth via NODE_AUTH_TOKEN or NPM_TOKEN." >&2

@@ -92,11 +98,22 @@ fi

92989399

(

94100

cd "${package_dir}"

95-

"${publish_cmd[@]}"

101+

cleanup_files=()

102+

trap 'rm -f "${cleanup_files[@]}"' EXIT

103+

publish_userconfig=""

104+

if [[ -n "${publish_auth_token}" ]]; then

105+

publish_userconfig="$(mktemp)"

106+

cleanup_files+=("${publish_userconfig}")

107+

chmod 0600 "${publish_userconfig}"

108+

printf '%s\n' "//registry.npmjs.org/:_authToken=${publish_auth_token}" > "${publish_userconfig}"

109+

NPM_CONFIG_USERCONFIG="${publish_userconfig}" "${publish_cmd[@]}"

110+

else

111+

"${publish_cmd[@]}"

112+

fi

9611397114

if [[ -n "${mirror_dist_tags_csv}" ]]; then

98115

mirror_userconfig="$(mktemp)"

99-

trap 'rm -f "${mirror_userconfig}"' EXIT

116+

cleanup_files+=("${mirror_userconfig}")

100117

chmod 0600 "${mirror_userconfig}"

101118

printf '%s\n' "//registry.npmjs.org/:_authToken=${mirror_auth_token}" > "${mirror_userconfig}"

102119