dcloud git labels set-pull-request-labelsReplace a pull request’s labels
IAM git:UpdateIssueChanges state
Workflows see them as github.event.pull_request.labels (contains(github.event.pull_request.labels.*.name, …)).
Synopsis
dcloud git labels set-pull-request-labels repoId prNumber --labels labelsArguments
<repoId>Requiredstring
Also accepted as
--repo-id. Constraints: uuid<prNumber>Requirednumber
Also accepted as
--pr-number. Constraints: integer, min 1
Flags
--labelsRequiredarray of string
Label names replacing the current set (empty removes all); each must exist in the repository
Constraints: 1-50 chars
Example
dcloud git labels set-pull-request-labels repoId prNumber --labels '["example"]'Generated from the API description, the same one the API checks requests against and the CLI is built from.