From 37a729f2c0285c3ad2ffeaf73dac6c1e944c04e3 Mon Sep 17 00:00:00 2001 From: Sapir Lasry Date: Tue, 13 Aug 2024 14:24:25 +0300 Subject: [PATCH] add env param PREVENT_SELF_CALL to lambda --- .github/workflows/master-change.yml | 1 + .github/workflows/staging-change.yml | 2 ++ 2 files changed, 3 insertions(+) diff --git a/.github/workflows/master-change.yml b/.github/workflows/master-change.yml index 61dee4b..98704e4 100644 --- a/.github/workflows/master-change.yml +++ b/.github/workflows/master-change.yml @@ -82,6 +82,7 @@ jobs: worker_env: > BASE_URL=https://rapidapi.com/testing, LOCATION_CONTEXT=Default, + PREVENT_SELF_CALL=true, LOCATION_KEY=${{ matrix.region.key }}, LOCATION_SECRET=${{ secrets.LOCATION_SECRET_PROD_DEFAULT }}, WORKER_LOGGING=${{ matrix.region.logging }}, diff --git a/.github/workflows/staging-change.yml b/.github/workflows/staging-change.yml index d9cdb6a..ff3e980 100644 --- a/.github/workflows/staging-change.yml +++ b/.github/workflows/staging-change.yml @@ -28,6 +28,7 @@ jobs: worker_env: > BASE_URL=https://rapidapi.xyz/testing, LOCATION_CONTEXT=Default, + PREVENT_SELF_CALL=true, LOCATION_KEY=AWS-STAGING, LOCATION_SECRET=${{ secrets.LOCATION_SECRET_STAGING_DEFAULT }}, WORKER_LOGGING=cli, @@ -43,6 +44,7 @@ jobs: worker_env: > BASE_URL=https://rapidapi.xyz/testing, LOCATION_CONTEXT=3799087, + PREVENT_SELF_CALL=true, LOCATION_KEY=custom-staging-worker, LOCATION_SECRET=${{ secrets.LOCATION_SECRET_STAGING_CUSTOM }}, POLLING_TIME_MAX=70000,