From 856d3137bdf07eb6ec96dd5454959c33251d642f Mon Sep 17 00:00:00 2001 From: Jingwei Wang Date: Tue, 28 Jan 2025 16:33:48 -0800 Subject: [PATCH] test if consition different than local test Signed-off-by: Jingwei Wang --- .github/workflows/e2e-linux.yaml | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/.github/workflows/e2e-linux.yaml b/.github/workflows/e2e-linux.yaml index 902b43ef0..662bec15f 100644 --- a/.github/workflows/e2e-linux.yaml +++ b/.github/workflows/e2e-linux.yaml @@ -161,6 +161,10 @@ jobs: uses: aws-actions/configure-aws-credentials@e3dd6a429d7300a6a4c196c26e071d42e0343502 # v4.0.2 if: | steps.linux2.outputs.is_al2 == 'false' + && needs.test.outputs.has_creds == 'true' + && github.event_name == 'pull_request' + && github.event.action == 'closed' + && github.event.pull_request.merged == true with: role-to-assume: ${{ secrets.ROLE }} role-session-name: credhelper-test