Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Automated Scheduled Pull Request in Azure Devops

So I know that are multiple posts out there but not sure they covered my issue. So I have two branches dev and QA, I would like to do a NIGHTLY merge from dev to QA. I dont know how to go about doing this to setup a nightly pull request from dev into qa. Any help would be great, thank you!

like image 563
user1566783 Avatar asked Oct 30 '25 17:10

user1566783


1 Answers

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

Based on your requirement, you could setup schedule trigger Pipeline in Azure Devops.

enter image description here

Then you could add the task: Create Pull Request from Create Pull Request Extension.

enter image description here

When the specified time is reached, it will trigger the pipeline and create a pull request. You could set the auto-complete in this task, then the pull request will complete.

Or you could write script to run the Rest API to create and complete pull request.

Create- Pull Request.

Update- Pull Request

like image 147
Kevin Lu-MSFT Avatar answered Nov 03 '25 02:11

Kevin Lu-MSFT



Donate For Us

If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!