dcloud ci runner-pools connect-githubRun the GitHub Actions jobs of a repository that stays on GitHub on a runner pool
Needs the GitHub App installed on the repository’s GitHub organization (Git → Connect GitHub); installing it already turns this on for every repository it covers. A job whose runs-on names the pool’s label (and otherwise only self-hosted, linux, x64) then runs on the pool. Pull requests from forks are refused and their run cancelled unless allowForkPullRequests. Calling it again changes nothing; with another pool (--pool) the repository reaches that pool too, for jobs naming that pool’s labels (one repository, several label sets).
Synopsis
dcloud ci runner-pools connect-github repository [flags]Arguments
<repository>Requiredstring
Also accepted as
--repository. Constraints: /^[A-Za-z0-9-]{1,39}\/[A-Za-z0-9._-]{1,100}$/
Flags
--poolOptionalstring
Name or id of the runner pool; omitted: the pool GitHub jobs already go to, else a new cloud-only pool github-actions (label deutsche-cloud, s-4, 0 to 10 machines)
Constraints: 1-40 chars
--allow-fork-pull-requestsOptionalboolean (--allow-fork-pull-requests / --no-allow-fork-pull-requests)
Run pull requests from forks on the pool too; off by default
Example
dcloud ci runner-pools connect-github repositoryGenerated from the API description, the same one the API checks requests against and the CLI is built from.