From 914c92915355d125a2edb78ac6544fb081cec5cb Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Simon=20W=C3=A5hlin?= Date: Tue, 28 Dec 2021 21:18:10 +0100 Subject: [PATCH] Remove invalid config (#104) --- .pipelines/pull.yml | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/.pipelines/pull.yml b/.pipelines/pull.yml index 34e9992..81af31d 100644 --- a/.pipelines/pull.yml +++ b/.pipelines/pull.yml @@ -336,11 +336,11 @@ jobs: # Get PR ID and check status PRid=$(echo $PROut | jq -r '.pullRequestId'); - PRStatus=$(az repos pr show --id $PRid --organization "https://dev.azure.com/advaniase" | jq .status); + PRStatus=$(az repos pr show --id $PRid | jq .status); # If PR is not completed, then complete it bypassing policy if [ $PRStatus == "\"active\"" ]; then - az repos pr update --status completed --id $PRid --bypass-policy true --bypass-policy-reason "Automated pull request" --organization "https://dev.azure.com/advaniase" > /dev/null 2>&1 + az repos pr update --status completed --id $PRid --bypass-policy true --bypass-policy-reason "Automated pull request" > /dev/null 2>&1 fi; env: AZURE_DEVOPS_EXT_PAT: $(System.AccessToken)