From 97956ce951ffc1428ab73376f04d65b794c84d5b Mon Sep 17 00:00:00 2001 From: Qstick Date: Tue, 28 Dec 2021 15:10:56 -0600 Subject: [PATCH] Branch and push prior to PR --- azure-pipelines.yml | 3 +++ 1 file changed, 3 insertions(+) diff --git a/azure-pipelines.yml b/azure-pipelines.yml index 393bc4bf7..ef4be60b2 100644 --- a/azure-pipelines.yml +++ b/azure-pipelines.yml @@ -843,14 +843,17 @@ stages: version: $(dotnetVersion) - checkout: self submodules: true + persistCredentials: true fetchDepth: 1 - bash: ./docs.sh Windows displayName: Create openapi.json - bash: | git config --global user.email "development@lidarr.audio" git config --global user.name "Servarr" + git checkout -b api-docs git add . git commit -m 'Automated API Docs update' + git push -f displayName: Commit API Doc Change - task: CreatePullRequest@1 displayName: PR Change to Github