Repository navigation
fix: classify repository webhook hooks correctly - #248
Merged
Merged
Conversation
Co-authored-by: Eduard Carreras <ecarreras@gisce.net>
pilipilisbot
force-pushed
the
fix-webhook-repo-hook-target
branch
from
October 6, 2026 07:18
066c273 to
a029d30
Compare
Collaborator
|
The release failure was caused by a stale shallow checkout, not by this PR: while run 37429064394 was preparing, #246 advanced main, so the checkout no longer contained this run’s triggering SHA c8395f2. Fix opened in #253. It checks out the exact workflow SHA with full history, skips stale runs without publishing, and rechecks main immediately before semantic release. The PR is mergeable and all CI jobs pass (dashboard, Python 3.11, Python 3.12). This PR’s changes were included by the following successful release run in v0.71.2. |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Summary
/repos/...vs/orgs/...) before falling back to payload fields.webhook_hooksrows fromgithub_api_urlduring queue/schema initialization, so already-stored bad rows are corrected after deploy.organization.Cause
Hook
692565163is a repository hook (https://api.github.com/repos/gisce/github-agent-bridge/hooks/692565163), but the dashboard stored it asorganizationbecause repo-owned-by-org webhook payloads also include anorganizationobject.Validation
PYTHONPATH=src /home/openclaw/.openclaw/workspace/github/github-agent-bridge/.venv/bin/python -m pytest tests/test_webhook.py -q(40 passed)