From c59c6b79e050e8e517d1ec137792d5e906a9fa05 Mon Sep 17 00:00:00 2001 From: Beppe Catanese <1771700+gcatanese@users.noreply.github.com> Date: Wed, 30 Oct 2024 12:14:11 +0100 Subject: [PATCH] Create sync-collections.yml --- .github/workflows/sync-collections.yml | 26 ++++++++++++++++++++++++++ 1 file changed, 26 insertions(+) create mode 100644 .github/workflows/sync-collections.yml diff --git a/.github/workflows/sync-collections.yml b/.github/workflows/sync-collections.yml new file mode 100644 index 0000000..5b669d6 --- /dev/null +++ b/.github/workflows/sync-collections.yml @@ -0,0 +1,26 @@ +# Update all collections on Postman + +name: "Sync Postman collections" + +on: + workflow_dispatch: +jobs: + update-collections: + name: "Update Checkout" + runs-on: ubuntu-latest + steps: + - uses: actions/checkout@v3 + - name: update-checkout + uses: gcatanese/push-to-postman-action@main + with: + goal: update + postman-key: ${{ secrets.POSTMAN_API_KEY }} + postman-file: 'postman/CheckoutService-v71.json' + collection-id: '8426282-04caed9f-44a4-49a1-a803-ccd4f08bbbcb' + - name: update-balance-control + uses: gcatanese/push-to-postman-action@main + with: + goal: update + postman-key: ${{ secrets.POSTMAN_API_KEY }} + postman-file: 'postman/BalanceControlService-v1.json' + collection-id: '8426282-04caed9f-44a4-49a1-a803-ccd4f08bbbcb'