dcloud git webhooks createAdd a webhook
IAM git:CreateWebhookChanges state
Synopsis
dcloud git webhooks create repoId --url url --events events [flags]Arguments
<repoId>Requiredstring
Also accepted as
--repo-id. Constraints: uuid
Flags
--urlRequiredstring
The public URL each delivery is POSTed to
Constraints: url
--eventsRequiredenum
The events that trigger a delivery
One of:
push,tag,pull_request,pull_request_review,issues,issue_comment,release,merge_queue--secretOptionalstring
Signs each delivery with an HMAC-SHA256 of its body (`sha256=…` header); unsigned when absent
Constraints: max 200 chars
--is-activeOptionalboolean (--is-active / --no-is-active)
false pauses deliveries without deleting the hook; true when created without it
Example
dcloud git webhooks create repoId --url example --events pushGenerated from the API description, the same one the API checks requests against and the CLI is built from.