Skip to content

Commit a7582c2

Browse files
committed
changing condition positioning
1 parent aae39a9 commit a7582c2

File tree

1 file changed

+1
-2
lines changed

1 file changed

+1
-2
lines changed

.azure-pipelines/generation-templates/capture-openapi.yml

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -105,7 +105,6 @@ jobs:
105105
- job: publish_openapi
106106
dependsOn: convert_openapi
107107
displayName: Publish OpenAPI files
108-
condition: eq('${{ parameters.skipOpenAPIPRGeneration }}', false)
109108
## If there's new settings added please add them here too
110109
templateContext:
111110
inputs:
@@ -180,7 +179,7 @@ jobs:
180179
displayName: 'Create Pull Request for the generated OpenAPI files for msgraph-metadata'
181180
env:
182181
BaseBranch: master
183-
GeneratePullRequest: true
182+
GeneratePullRequest: not('${{ parameters.skipOpenAPIPRGeneration }}')
184183
GhAppId: $(microsoft-graph-devx-bot-appid)
185184
GhAppKey: $(microsoft-graph-devx-bot-privatekey)
186185
OverrideSkipCI: false

0 commit comments

Comments
 (0)