This is an automated email from the ASF dual-hosted git repository.

hong pushed a commit to branch main
in repository https://gitbox.apache.org/repos/asf/flink-connector-aws.git


The following commit(s) were added to refs/heads/main by this push:
     new 691dc01  [hotfix][ci] Trigger AWS E2E tests when creds are present
691dc01 is described below

commit 691dc01d95f40fe8c757a2d90aa8c0a12da5129b
Author: Hong Liang Teoh <[email protected]>
AuthorDate: Wed Oct 4 23:09:00 2023 +0100

    [hotfix][ci] Trigger AWS E2E tests when creds are present
---
 .github/workflows/common.yml | 3 ++-
 1 file changed, 2 insertions(+), 1 deletion(-)

diff --git a/.github/workflows/common.yml b/.github/workflows/common.yml
index bacbea0..f9a617f 100644
--- a/.github/workflows/common.yml
+++ b/.github/workflows/common.yml
@@ -57,6 +57,7 @@ jobs:
       MVN_VALIDATION_DIR: "/tmp/flink-validation-deployment"
       FLINK_AWS_USER: ${{ secrets.FLINK_AWS_USER }}
       FLINK_AWS_PASSWORD: ${{ secrets.FLINK_AWS_PASSWORD }}
+      HAS_AWS_CREDS: ${{ secrets.FLINK_AWS_USER != '' && 
secrets.FLINK_AWS_PASSWORD != '' }}
     steps:
       - run: echo "Running CI pipeline for JDK version ${{ matrix.jdk }}"
 
@@ -115,7 +116,7 @@ jobs:
           mvn clean
 
       - name: Run AWS e2e tests
-        if: ${{ github.event_name == 'push' }}
+        if: ${{ env.HAS_AWS_CREDS }}
         run: |
           set -o pipefail
 

Reply via email to