gpt4 book ai didi

github - 通过github api获取构建状态

转载 作者:行者123 更新时间:2023-12-01 09:55:18 25 4
gpt4 key购买 nike

GitHub API提供了很多功能,但是有没有办法检索提交的构建状态? GitHub UI 提供了来自我们配置的 CI 系统的信息,但是我看不到通过 API 暴露的这些信息?

最佳答案

You can access the status for a particular ref
GET https://api.github.com/repos/:owner/:repo/commits/:ref/statuses
对于 :ref 的值,您可以使用 SHA、分支名称或标记名称。

关于github - 通过github api获取构建状态,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/29443528/

25 4 0
Copyright 2021 - 2024 cfsdn All Rights Reserved 蜀ICP备2022000587号
广告合作:1813099741@qq.com 6ren.com