界面已本地化;技能介绍与说明文档按所选语言由 AI 自动翻译,代码、命令、路径和专业术语保留原文,以原作者文档为准。
探索技能
效率与协作 · SKILL.md

circleci

circleci

【效率与协作】Manage CircleCI pipelines, jobs, and workflows via API. Trigger and monitor builds.

独立 GitHub 快照 · 自动分类 · 以原作者文档为准

技能说明

GitHub

name: circleci description: Manage CircleCI pipelines, jobs, and workflows via API. Trigger and monitor builds. metadata: {"clawdbot":{"emoji":"⭕","requires":{"env":["CIRCLECI_TOKEN"]}}}

CircleCI

Continuous integration platform.

Environment

export CIRCLECI_TOKEN="xxxxxxxxxx"

List Pipelines

curl "https://circleci.com/api/v2/project/gh/{org}/{repo}/pipeline" \
  -H "Circle-Token: $CIRCLECI_TOKEN"

Trigger Pipeline

curl -X POST "https://circleci.com/api/v2/project/gh/{org}/{repo}/pipeline" \
  -H "Circle-Token: $CIRCLECI_TOKEN" \
  -H "Content-Type: application/json" \
  -d '{"branch": "main"}'

Get Workflow

curl "https://circleci.com/api/v2/workflow/{workflowId}" -H "Circle-Token: $CIRCLECI_TOKEN"

Links

我的收藏