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

推荐订阅源

Hugging Face - Blog
Hugging Face - Blog
WordPress大学
WordPress大学
Microsoft Azure Blog
Microsoft Azure Blog
F
Fortinet All Blogs
B
Blog RSS Feed
Last Week in AI
Last Week in AI
The Cloudflare Blog
大猫的无限游戏
大猫的无限游戏
人人都是产品经理
人人都是产品经理
P
Proofpoint News Feed
H
Hackread – Cybersecurity News, Data Breaches, AI and More
Microsoft Security Blog
Microsoft Security Blog
博客园 - 三生石上(FineUI控件)
Y
Y Combinator Blog
GbyAI
GbyAI
奇客Solidot–传递最新科技情报
奇客Solidot–传递最新科技情报
小众软件
小众软件
雷峰网
雷峰网
C
Check Point Blog
阮一峰的网络日志
阮一峰的网络日志
博客园 - 叶小钗
博客园 - 司徒正美
U
Unit 42
量子位

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: forward openclaw github activity · openclaw/openclaw@...
steipete · 2026-05-02 · via Recent Commits to openclaw:main

@@ -9,6 +9,10 @@ on:

99

branches: [main]

1010

pull_request_target: # zizmor: ignore[dangerous-triggers] maintainer-owned external dispatch; no checkout or untrusted PR code execution

1111

types: [opened, reopened, synchronize, ready_for_review, edited, labeled, unlabeled]

12+

pull_request_review:

13+

types: [submitted, edited, dismissed]

14+

pull_request_review_comment:

15+

types: [created, edited]

12161317

permissions:

1418

contents: read

@@ -53,8 +57,95 @@ jobs:

5357

permission-issues: write

5458

permission-pull-requests: read

555960+

- name: Dispatch GitHub activity to ClawSweeper

61+

env:

62+

GH_TOKEN: ${{ steps.token.outputs.token }}

63+

TARGET_REPO: ${{ github.repository }}

64+

SOURCE_EVENT: ${{ github.event_name }}

65+

SOURCE_ACTION: ${{ github.event.action }}

66+

ACTOR: ${{ github.actor }}

67+

run: |

68+

set -euo pipefail

69+

if [ -z "$GH_TOKEN" ]; then

70+

echo "::notice::Skipping GitHub activity dispatch because no ClawSweeper app token is configured."

71+

exit 0

72+

fi

73+

activity="$(jq -c \

74+

--arg target_repo "$TARGET_REPO" \

75+

--arg event_name "$SOURCE_EVENT" \

76+

--arg source_action "$SOURCE_ACTION" \

77+

--arg actor "$ACTOR" \

78+

'

79+

def body_excerpt(value):

80+

if (value // "" | type) == "string" then

81+

((value // "") | gsub("\\s+"; " ") | .[0:1200])

82+

else null end;

83+

{

84+

type: $event_name,

85+

repo: $target_repo,

86+

action: $source_action,

87+

actor: $actor,

88+

subject:

89+

if .pull_request then {

90+

kind: "pull_request",

91+

number: .pull_request.number,

92+

title: .pull_request.title,

93+

url: .pull_request.html_url,

94+

state: (if .pull_request.merged == true then "merged" else .pull_request.state end)

95+

} elif .issue then {

96+

kind: (if .issue.pull_request then "pull_request" else "issue" end),

97+

number: .issue.number,

98+

title: .issue.title,

99+

url: .issue.html_url,

100+

state: .issue.state

101+

} elif $event_name == "push" then {

102+

kind: "push",

103+

title: (.head_commit.message // .after // "push"),

104+

url: (.head_commit.url // .compare),

105+

state: .ref

106+

} else {

107+

kind: $event_name

108+

} end,

109+

comment: (if .comment then {

110+

id: .comment.id,

111+

url: .comment.html_url,

112+

body_excerpt: body_excerpt(.comment.body)

113+

} else null end),

114+

review: (if .review then {

115+

id: .review.id,

116+

state: .review.state,

117+

url: .review.html_url,

118+

body_excerpt: body_excerpt(.review.body)

119+

} else null end),

120+

review_comment: (if .comment and $event_name == "pull_request_review_comment" then {

121+

id: .comment.id,

122+

path: .comment.path,

123+

line: (.comment.line // .comment.original_line),

124+

url: .comment.html_url,

125+

body_excerpt: body_excerpt(.comment.body)

126+

} else null end),

127+

push: (if $event_name == "push" then {

128+

before: .before,

129+

after: .after,

130+

ref: .ref,

131+

compare: .compare,

132+

head_commit: .head_commit.id

133+

} else null end),

134+

delivery_id: (.comment.id // .review.id // .pull_request.head.sha // .issue.updated_at // .after // env.GITHUB_RUN_ID)

135+

} | del(.. | nulls)

136+

' "$GITHUB_EVENT_PATH")"

137+

payload="$(jq -nc --argjson activity "$activity" \

138+

'{event_type:"github_activity",client_payload:{activity:$activity}}')"

139+

if gh api repos/openclaw/clawsweeper/dispatches \

140+

--method POST \

141+

--input - <<< "$payload"; then

142+

echo "Dispatched GitHub activity to ClawSweeper."

143+

else

144+

echo "::warning::Skipping GitHub activity dispatch because the configured credential could not dispatch to openclaw/clawsweeper."

145+

fi

146+56147

- name: Dispatch exact ClawSweeper review

57-

if: ${{ github.event_name != 'push' && github.event_name != 'issue_comment' }}

148+

if: ${{ github.event_name == 'issues' || github.event_name == 'pull_request_target' }}

58149

env:

59150

GH_TOKEN: ${{ steps.token.outputs.token }}

60151

TARGET_REPO: ${{ github.repository }}