From 7916f5772250f2ab88294ba714c18fb329cf5ed9 Mon Sep 17 00:00:00 2001 From: Adrian Stobbe Date: Mon, 16 Oct 2023 14:47:38 +0200 Subject: [PATCH] Revert "test verify on branch" This reverts commit 0a7cf0889fafaf32f9815f2f23b904b718f715ef. --- .github/actions/e2e_verify/action.yml | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/.github/actions/e2e_verify/action.yml b/.github/actions/e2e_verify/action.yml index 559e2d277a..c0406d2c2c 100644 --- a/.github/actions/e2e_verify/action.yml +++ b/.github/actions/e2e_verify/action.yml @@ -77,14 +77,14 @@ runs: done - name: Login to AWS - if: inputs.cloudProvider == 'azure' + if: github.ref_name == 'main' && inputs.cloudProvider == 'azure' uses: aws-actions/configure-aws-credentials@5fd3084fc36e372ff1fff382a39b10d03659f355 # v2.2.0 with: role-to-assume: arn:aws:iam::795746500882:role/GitHubConstellationImagePipeline aws-region: eu-central-1 - name: Upload extracted TCBs - if: inputs.cloudProvider == 'azure' + if: github.ref_name == 'main' && inputs.cloudProvider == 'azure' shell: bash env: COSIGN_PASSWORD: ${{ inputs.cosignPassword }}