Webhooks: fix updatedConfig, add move action, document job env vars#2320
Merged
Webhooks: fix updatedConfig, add move action, document job env vars#2320
Conversation
- webhooks.md: Remove xetEnabled from updatedConfig (only private is supported); add note about hidden comment content being undefined - webhooks-guide-auto-retrain.md: Add missing "move" webhook event action - jobs-webhooks.md: Document all webhook environment variables (WEBHOOK_PAYLOAD, WEBHOOK_REPO_ID, WEBHOOK_REPO_TYPE, WEBHOOK_SECRET) Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
pcuenca
reviewed
Mar 20, 2026
|
|
||
| - `WEBHOOK_PAYLOAD`: the full webhook payload as a JSON string | ||
| - `WEBHOOK_REPO_ID`: the repository name (e.g., `user/repo-name`) | ||
| - `WEBHOOK_REPO_TYPE`: the repository type (`model`, `dataset`, or `space`) |
2 tasks
|
The docs for this PR live here. All of your documentation changes will be reflected on that endpoint. The docs are available until 30 days after the last update. |
coyotte508
approved these changes
Mar 20, 2026
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
xetEnabledfromupdatedConfig(onlyprivateis supported); add note about hidden commentcontentbeing undefined"move"webhook event actionWEBHOOK_PAYLOAD,WEBHOOK_REPO_ID,WEBHOOK_REPO_TYPE,WEBHOOK_SECRET)Test plan
🤖 Generated with Claude Code
Note
Low Risk
Low risk because changes are documentation-only, clarifying supported fields/actions without altering runtime behavior.
Overview
Clarifies Job-triggered webhook execution by documenting all injected environment variables (
WEBHOOK_PAYLOAD,WEBHOOK_REPO_ID,WEBHOOK_REPO_TYPE,WEBHOOK_SECRET).Aligns webhook payload docs with current behavior by adding the missing
moveevent action in the auto-retrain guide, noting that hidden comments may omitcontent, and correctingrepo.configupdatedConfigto state onlyprivateis supported (unknown keys yield{}).Written by Cursor Bugbot for commit 4dd9f4f. This will update automatically on new commits. Configure here.