From bcfbdd5eb0dfc6c6c16685f76260fd5c4c86da9a Mon Sep 17 00:00:00 2001 From: Adrian Date: Fri, 21 Nov 2025 17:19:33 -0600 Subject: [PATCH] changing condition --- .azure-pipelines/generation-templates/capture-openapi.yml | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/.azure-pipelines/generation-templates/capture-openapi.yml b/.azure-pipelines/generation-templates/capture-openapi.yml index 1f6401ce0..99709756e 100644 --- a/.azure-pipelines/generation-templates/capture-openapi.yml +++ b/.azure-pipelines/generation-templates/capture-openapi.yml @@ -156,7 +156,7 @@ jobs: # Push changes to msgraph-metadata repo - pwsh: '$(scriptsDirectory)/git-push-cleanmetadata.ps1' - condition: not('${{ parameters.skipOpenAPIPRGeneration }}') + condition: eq('${{ parameters.skipOpenAPIPRGeneration }}', false) displayName: Publish ${{ parameters.endpoint }} OpenAPI description to msgraph-metadata repo env: CreateOpenAPIPR: True @@ -177,7 +177,7 @@ jobs: SecretsFilter: "microsoft-graph-devx-bot-appid,microsoft-graph-devx-bot-privatekey" - pwsh: '$(scriptsDirectory)/create-pull-request.ps1' - condition: not('${{ parameters.skipOpenAPIPRGeneration }}') + condition: eq('${{ parameters.skipOpenAPIPRGeneration }}', false) displayName: 'Create Pull Request for the generated OpenAPI files for msgraph-metadata' env: BaseBranch: master