azure - Azure Devops 中的自动计划拉取请求

标签 azure azure-devops

所以我知道那里有多个帖子,但不确定它们是否涵盖了我的问题。所以我有两个分支 dev 和 QA,我想每晚进行一次从 dev 到 QA 的合并。我不知道如何执行此操作以将开发人员的夜间拉取请求设置为质量保证。任何帮助都会很棒,谢谢!

最佳答案

how to go about doing this to setup a nightly pull request from dev into qa

根据您的要求,您可以设置schedule trigger Pipeline在 Azure DevOps 中。

enter image description here

然后您可以添加任务:Create Pull Request from Create Pull Request Extension .

enter image description here

当达到指定时间时,将触发管道并创建拉取请求。您可以在此任务中设置自动完成,然后拉取请求将完成。

或者您可以编写脚本来运行 Rest API 以创建并完成拉取请求。

Create- Pull Request .

Update- Pull Request

关于azure - Azure Devops 中的自动计划拉取请求,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/67729526/

相关文章:

parsing - DocumentDB返回 "Request rate is large",在azure上解析

Azure DevOps : how configure my pipeline script to trigger another pipeline with different repo?

Azure 消费 API 非常慢

python - 我需要 'requirements.txt' 文件还是应该安装依赖项? Azure 开发运营

azure - Azure 辅助角色可以使用 git 进行部署吗?

azure - 从 Azure 辅助角色访问文件共享

使用模板时Azure管道扩展每个参数

azure - 无法通过 VSTS 版本中的服务端点访问 Key Vault secret

git - Team Foundation Server 2015 (tfs2015) 在 orgin/remote 上运行 git gc --prune=now

c# - 如何在 Windows Azure 上设置 Websocket 连接?