diff --git a/azure-pipelines-production.yml b/azure-pipelines-production.yml index 5c57493..b35783a 100644 --- a/azure-pipelines-production.yml +++ b/azure-pipelines-production.yml @@ -12,6 +12,7 @@ jobs: - checkout: self clean: true fetchDepth: 1 + persistCredentials: true - script: | git fetch origin main:main if git merge-base --is-ancestor $(Build.SourceVersion) main; then diff --git a/azure-pipelines-staging.yml b/azure-pipelines-staging.yml index 4495b2c..ba3c32c 100644 --- a/azure-pipelines-staging.yml +++ b/azure-pipelines-staging.yml @@ -15,6 +15,7 @@ jobs: - checkout: self clean: true fetchDepth: 1 + persistCredentials: true - script: | git fetch origin main:main if git merge-base --is-ancestor $(Build.SourceVersion) main; then