diff --git a/.github/workflows/generate.yaml b/.github/workflows/generate.yaml index 424da7c..91c3133 100644 --- a/.github/workflows/generate.yaml +++ b/.github/workflows/generate.yaml @@ -42,6 +42,7 @@ jobs: git commit -a -m "feat(postman): Update collection" - name: Push changes + if: ${{ github.event_name != 'pull_request' }} uses: ad-m/github-push-action@master with: github_token: ${{ secrets.GITHUB_TOKEN }} @@ -57,4 +58,4 @@ jobs: # goal: update # postman-key: ${{ secrets.POSTMAN_API_KEY }} # postman-file: "Gr4vy.postman_collection.json" - # collection-id: 11991320-260b3f2c-eefa-41d7-8587-72377fca9812 \ No newline at end of file + # collection-id: 11991320-260b3f2c-eefa-41d7-8587-72377fca9812 diff --git a/scripts/convert.js b/scripts/convert.js index e285e6b..5c53771 100644 --- a/scripts/convert.js +++ b/scripts/convert.js @@ -76,7 +76,7 @@ const EVENT = [ Converter.convert( { type: "string", data: openapi, }, - { folderStrategy: "Tags", alwaysInheritAuthentication: true, enableOptionalParameters: false, exampleParametersResolution: "Schema" }, + { folderStrategy: "Tags", alwaysInheritAuthentication: true, enableOptionalParameters: false, exampleParametersResolution: "Schema", optimizeConversion: false, stackLimit: 50 }, (_, conversionResult) => { if (!conversionResult.result) { console.log("Could not convert", conversionResult.reason);