From 12036bf84bea0c3b57489262fcd27241bfea386c Mon Sep 17 00:00:00 2001 From: agungardiyanta Date: Thu, 13 Jun 2024 18:43:25 +0700 Subject: [PATCH 1/3] fix Infra: Do not run e2e reports task on forks #313 --- .github/workflows/e2e-run.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/workflows/e2e-run.yml b/.github/workflows/e2e-run.yml index a0bb764e1..854052b57 100644 --- a/.github/workflows/e2e-run.yml +++ b/.github/workflows/e2e-run.yml @@ -134,7 +134,7 @@ jobs: reports: runs-on: ubuntu-latest needs: tests - if: ${{ !cancelled() && github.repository == 'kafbat/kafka-ui' }} + if: ${{ !cancelled() && github.repository == 'kafbat/kafka-ui' && github.event.pull_request.head.repo.full_name == github.repository }} steps: - name: Download allure reports artifact uses: actions/download-artifact@v4 From e267fa4126ab7d8ff7e772e905d6a26a0e5b3041 Mon Sep 17 00:00:00 2001 From: agungardiyanta Date: Thu, 13 Jun 2024 22:04:54 +0700 Subject: [PATCH 2/3] fix Infra: Do not run e2e reports task on forks #313 --- .github/workflows/e2e-run.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/workflows/e2e-run.yml b/.github/workflows/e2e-run.yml index 854052b57..999d102e2 100644 --- a/.github/workflows/e2e-run.yml +++ b/.github/workflows/e2e-run.yml @@ -134,7 +134,7 @@ jobs: reports: runs-on: ubuntu-latest needs: tests - if: ${{ !cancelled() && github.repository == 'kafbat/kafka-ui' && github.event.pull_request.head.repo.full_name == github.repository }} + if: ${{ !cancelled() && github.event.pull_request.head.repo.full_name == github.repository }} steps: - name: Download allure reports artifact uses: actions/download-artifact@v4 From d17bf012da9c213ebc70dea54fb306c4c7dcf8e7 Mon Sep 17 00:00:00 2001 From: agungardiyanta Date: Fri, 14 Jun 2024 11:17:27 +0700 Subject: [PATCH 3/3] fix Infra: Do not run e2e reports task on forks #313 --- .github/workflows/e2e-run.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/workflows/e2e-run.yml b/.github/workflows/e2e-run.yml index 999d102e2..ae34f894a 100644 --- a/.github/workflows/e2e-run.yml +++ b/.github/workflows/e2e-run.yml @@ -134,7 +134,7 @@ jobs: reports: runs-on: ubuntu-latest needs: tests - if: ${{ !cancelled() && github.event.pull_request.head.repo.full_name == github.repository }} + if: ${{ !cancelled() && (github.event_name != 'pull_request' || github.event.pull_request.head.repo.full_name == github.repository) }} steps: - name: Download allure reports artifact uses: actions/download-artifact@v4