dcloud git security fix-dependenciesFix the security issues of this repository: open a pull request that bumps the vulnerable dependencies of its package-lock.json and pnpm-lock.yaml
IAM git:CreatePullRequestChanges state
Answers 202; the platform creates a branch, bumps the versions, updates the lockfile with the package manager (no install scripts, public registry) and opens a pull request listing the advisories, so CI runs. It never merges. Needs git:PushRepository too. `get-dependency-fix` shows the outcome; 409 names an open fix pull request for the same package.
Synopsis
dcloud git security fix-dependencies repoId [flags]Arguments
<repoId>Requiredstring
Also accepted as
--repo-id. Constraints: uuid
Flags
--packagesOptionalarray of string
Package groups to fix, as `ecosystem:package` (e.g. `pnpm:vite`); leave out to fix every package a fixed version exists for
Constraints: 3-300 chars
Example
dcloud git security fix-dependencies repoIdGenerated from the API description, the same one the API checks requests against and the CLI is built from.