From 8c84932c65b99a3caee2eb53192c4b3144da8611 Mon Sep 17 00:00:00 2001 From: Adrian Stobbe Date: Mon, 22 Jan 2024 17:51:48 +0100 Subject: [PATCH] Revert "test" This reverts commit 521546fc10486dd449041a71c527421902a9b6b9. --- .github/workflows/e2e-test-daily.yml | 4 +++- .github/workflows/e2e-test-provider-example.yml | 9 ++++----- 2 files changed, 7 insertions(+), 6 deletions(-) diff --git a/.github/workflows/e2e-test-daily.yml b/.github/workflows/e2e-test-daily.yml index 872f293bb..2a94d260f 100644 --- a/.github/workflows/e2e-test-daily.yml +++ b/.github/workflows/e2e-test-daily.yml @@ -160,7 +160,9 @@ jobs: - name: Notify about failure if: | - failure() + failure() && + github.ref == 'refs/heads/main' && + github.event_name == 'schedule' continue-on-error: true uses: ./.github/actions/notify_e2e_failure with: diff --git a/.github/workflows/e2e-test-provider-example.yml b/.github/workflows/e2e-test-provider-example.yml index f8a0c555a..423865a9c 100644 --- a/.github/workflows/e2e-test-provider-example.yml +++ b/.github/workflows/e2e-test-provider-example.yml @@ -72,9 +72,6 @@ jobs: with: ref: ${{ inputs.ref || github.head_ref }} - - name: Fail workflow - run: exit 1 - - name: Get Latest Image id: find-latest-image uses: ./.github/actions/find_latest_image @@ -439,10 +436,12 @@ jobs: - name: Notify about failure if: | - failure() + failure() && + github.ref == 'refs/heads/main' && + github.event_name == 'schedule' continue-on-error: true uses: ./.github/actions/notify_e2e_failure with: projectWriteToken: ${{ secrets.PROJECT_WRITE_TOKEN }} - test: "terraform provider example" + test: "terraform-provider-example" provider: ${{ inputs.cloudProvider }}