An open-source, faster Devin alternative
TypeScript
fix: probe Infisical list query shape (#1015)
Mohamed Habib0ae67f39b7b2
diff --git a/.github/workflows/ferry-worker-secrets-to-infisical.yml b/.github/workflows/ferry-worker-secrets-to-infisical.ymlindex 79069991..c3e60597 100644--- a/.github/workflows/ferry-worker-secrets-to-infisical.yml+++ b/.github/workflows/ferry-worker-secrets-to-infisical.yml@@ -106,6 +106,29 @@ jobs:}trap revoke_token EXIT+ probe_list() {+ local label="$1"+ shift+ local status+ status="$(curl --proto '=https' --tlsv1.2 --silent --show-error \+ --output /dev/null --write-out '%{http_code}' \+ --header "Authorization: Bearer $infisical_token" \+ --get https://app.infisical.com/api/v4/secrets \+ --data-urlencode 'projectId=ab6933b4-8e02-4cb8-ac6c-c178009d5bf5' \+ --data-urlencode 'environment=prod' \+ --data-urlencode 'secretPath=/api-edge' \+ --data-urlencode 'viewSecretValue=true' \+ --data-urlencode 'includeImports=false' \+ --data-urlencode 'expandSecretReferences=false' \+ "$@")"+ printf 'Infisical list probe %s: HTTP %s\n' "$label" "$status"+ }++ # The earlier successful copy omitted recursive. Compare the two+ # request shapes without retaining or printing either response body.+ probe_list without-recursive+ probe_list recursive-false --data-urlencode 'recursive=false'+invoke() {local operation="$1"local expected="$2"