获取GitHub问题的管道价值? [英] Get Pipeline Value of GitHub Issues?

查看:59
本文介绍了获取GitHub问题的管道价值?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我使用ZenHub在GitHub上管理我的问题.当我查看问题的详细信息时,我可以在GitHub中看到属性"pipeline",该属性正是保存该问题的列.

I use ZenHub to manage my Issues on GitHub. When I go to the detail of an issue I can see the property "pipeline" in GitHub which is exactly the column where the Issue is saved.

现在,我想使用GitHub的API从问题中获取管道信息.但是没有一个发行方法 GET/repos/:owner/:repo/issues GET/repos/:owner/:repo/issues/:number 似乎具有有关管道的任何信息.它是否隐藏在其他地方?

Now I want to get the pipeline information out of my issues using the API of GitHub. But none of the Issue-Methods GET /repos/:owner/:repo/issues or GET /repos/:owner/:repo/issues/:number seem to have any information about the pipeline. Is it hidden anywhere else?

推荐答案

使用Github API v4,您可以查询

With the Github API v4, you can query the combinedContexts of a commit to retrieve a list of status contexts and check runs for the commit triggering your pipelines.

这篇关于获取GitHub问题的管道价值?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆