diff --git a/.github/workflows/trigger-postman.yml b/.github/workflows/trigger-postman.yml index 13f1d09..98f4d9e 100644 --- a/.github/workflows/trigger-postman.yml +++ b/.github/workflows/trigger-postman.yml @@ -19,11 +19,11 @@ jobs: repository: 'Adyen/adyen-openapi' path: 'adyen-openapi' fetch-depth: 0 - - name: Get changed files in the yaml folder + - name: Get changed files in the json folder id: changed-files-specific uses: tj-actions/changed-files@v35 with: - files: yaml/*.yaml + files: json/*.json path: 'adyen-openapi' - uses: JasonEtco/create-an-issue@v2 if: ${{ steps.changed-files-specific.outputs.added_files != '' }} diff --git a/generateAll.sh b/generateAll.sh index 81bff36..791e057 100755 --- a/generateAll.sh +++ b/generateAll.sh @@ -10,7 +10,7 @@ DATE=$(date +"%Y-%m-%d") # We allow only non classic, non webhook APIs ALLOW_LIST="BalanceControlService|BalancePlatformService|BinLookupService|CheckoutService|DataProtectionService|DisputeService|GrantService|LegalEntityService|ManagementService|PayoutService|RecurringService|StoredValueService|TestCardService|TfmAPIService|TransferService" -for entry in "adyen-openapi/yaml"/* +for entry in "adyen-openapi/json"/* do echo "Processing $entry" if echo "$entry" | grep -q -E "$ALLOW_LIST"; then