From a06361e895199a2c2860e7e1799072d89a84c6d9 Mon Sep 17 00:00:00 2001 From: Adrian-Stefan Mares Date: Fri, 14 Apr 2023 11:54:04 +0200 Subject: [PATCH] all: Skip AWS credentials configuration if secrets are missing --- .github/workflows/go.yml | 1 + 1 file changed, 1 insertion(+) diff --git a/.github/workflows/go.yml b/.github/workflows/go.yml index 72fcb262196..cbf61f3a80a 100644 --- a/.github/workflows/go.yml +++ b/.github/workflows/go.yml @@ -84,6 +84,7 @@ jobs: entrypoint: /usr/bin/createdb args: -h postgres -U root ttn_lorawan_is_store_test - name: Configure AWS Credentials + if: "${{ secrets.AWS_REGION != '' }}" uses: aws-actions/configure-aws-credentials@v1-node16 with: aws-region: "${{ secrets.AWS_REGION }}"