将拉取请求构建状态添加到Github [英] Adding pull request build status to Github

查看:55
本文介绍了将拉取请求构建状态添加到Github的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我在VSTS中有一个Github的拉取请求触发器.我也想将此触发器添加到Github中所需的检查中,并在拉取请求页面上显示构建状态,如下所示.

I have a pull request trigger for Github in VSTS. I also want to add this trigger to the required checks in Github and show build status on pull request page like below.

我也在Github上检查了分支保护页面,但是没有状态检查可用.

I also checked branch protection page on Github but there are no status checks available.

是否可以在VSTS中执行此操作,或者是否需要创建提到的PR状态服务器?

Is it possible to do this in VSTS or do I need to create a PR status server mentioned here ?

推荐答案

我选中了高级设置=>报告构建状态选项,VSTS会自动将提交状态发送到Github.

I checked Advanced settings => Report build status option and VSTS automatically sends commit status to Github.

这篇关于将拉取请求构建状态添加到Github的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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