计划执行与检查节点
executing-plans
按既定实施计划完成工作,保持过程检查和反馈。
bitbucket【效率与协作】Manage Bitbucket repositories, pull requests, and pipelines via API.
独立 GitHub 快照 · 自动分类 · 以原作者文档为准
Git repository hosting.
export BITBUCKET_USERNAME="xxxxxxxxxx"
export BITBUCKET_APP_PASSWORD="xxxxxxxxxx"
curl -u "$BITBUCKET_USERNAME:$BITBUCKET_APP_PASSWORD" "https://api.bitbucket.org/2.0/repositories/$BITBUCKET_USERNAME"
curl -X POST -u "$BITBUCKET_USERNAME:$BITBUCKET_APP_PASSWORD" \
"https://api.bitbucket.org/2.0/repositories/{workspace}/{repo}/pullrequests" \
-H "Content-Type: application/json" \
-d '{"title": "Feature PR", "source": {"branch": {"name": "feature"}}, "destination": {"branch": {"name": "main"}}}'