diff --git a/.github/workflows/github-activity.yml b/.github/workflows/github-activity.yml index 0dd4a97559..70ca9b7845 100644 --- a/.github/workflows/github-activity.yml +++ b/.github/workflows/github-activity.yml @@ -65,6 +65,7 @@ jobs: if: >- ${{ !(github.event_name == 'pull_request_target' && github.event.action == 'synchronize') && + !(github.event_name == 'repository_dispatch' && github.event.client_payload.activity.type == 'pull_request_target' && github.event.client_payload.activity.action == 'synchronize') && !(github.event_name == 'workflow_run' && contains(fromJSON('["success","neutral","skipped"]'), github.event.workflow_run.conclusion)) }} runs-on: blacksmith-4vcpu-ubuntu-2404 diff --git a/CHANGELOG.md b/CHANGELOG.md index 17d7d19493..74d86bd2ad 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -19,8 +19,8 @@ checkpoint, and status-only commits are intentionally omitted. - Removed `actions/setup-node` from the high-volume GitHub activity lane and kept that notifier compatible with runner-provided Node 20+ so bursty activity forwarding is not blocked by codeload action download timeouts. -- Skipped routine pull request synchronize events and successful workflow-run - events before checkout in the GitHub activity lane. +- Skipped routine native and forwarded pull request synchronize events plus + successful workflow-run events before checkout in the GitHub activity lane. - Kept human-review pauses from being cleared by stale trusted pass markers or replayed automerge commands. - Updated targeted re-review command comments with live progress while the review diff --git a/docs/openclaw-event-hooks.md b/docs/openclaw-event-hooks.md index 3cac970e6b..8840380d54 100644 --- a/docs/openclaw-event-hooks.md +++ b/docs/openclaw-event-hooks.md @@ -186,13 +186,13 @@ default. The agent receives the Discord target in the prompt and should use the message tool only when the event is surprising, actionable, risky, or otherwise operationally useful. For routine events it replies exactly `NO_REPLY`. -The workflow skips pull request synchronize events and successful workflow-run -events before checkout because the notifier always treats them as routine. The -notifier also applies a cheap deterministic prefilter before calling OpenClaw. -Routine bot comments, comment edits, metadata edits, duplicate PR synchronizes, -and successful automation events are skipped unless they contain an explicit -ClawSweeper command or mention. This keeps noisy GitHub churn from consuming -hook-session model turns. +The workflow skips native and forwarded pull request synchronize events plus +successful workflow-run events before checkout because the notifier always +treats them as routine. The notifier also applies a cheap deterministic +prefilter before calling OpenClaw. Routine bot comments, comment edits, metadata +edits, duplicate PR synchronizes, and successful automation events are skipped +unless they contain an explicit ClawSweeper command or mention. This keeps noisy +GitHub churn from consuming hook-session model turns. The workflow intentionally uses the runner-provided Node runtime plus a lean uncached pnpm install instead of `actions/setup-node` or the shared cached pnpm