From f4d0d6278f59eeb05810642a4daa3fcec0458938 Mon Sep 17 00:00:00 2001 From: Yikun Jiang Date: Thu, 15 Apr 2021 01:56:32 +0800 Subject: [PATCH 1/2] SPARK-35048 local-test --- .github/workflows/notify_test_workflow.yml | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/.github/workflows/notify_test_workflow.yml b/.github/workflows/notify_test_workflow.yml index 2e459ca8204d1..22666a409edb9 100644 --- a/.github/workflows/notify_test_workflow.yml +++ b/.github/workflows/notify_test_workflow.yml @@ -7,9 +7,11 @@ jobs: notify: runs-on: ubuntu-20.04 steps: + - name: Checkout + uses: actions/checkout@v2 - name: "Notify test workflow" uses: actions/github-script@v3 - if: ${{ github.base_ref == 'master' }} + if: github.base_ref == 'master' && github.repository == 'apache/spark' with: github-token: ${{ secrets.GITHUB_TOKEN }} script: | From 1401e5c133027f2b655ba4ee5d0e9f943b1e7062 Mon Sep 17 00:00:00 2001 From: Yikun Jiang Date: Thu, 15 Apr 2021 02:02:42 +0800 Subject: [PATCH 2/2] Update notify_test_workflow.yml --- .github/workflows/notify_test_workflow.yml | 5 +---- 1 file changed, 1 insertion(+), 4 deletions(-) diff --git a/.github/workflows/notify_test_workflow.yml b/.github/workflows/notify_test_workflow.yml index 22666a409edb9..f4c0906c6d5f4 100644 --- a/.github/workflows/notify_test_workflow.yml +++ b/.github/workflows/notify_test_workflow.yml @@ -1,14 +1,11 @@ name: Notify test workflow on: - pull_request_target: - types: [opened, reopened, synchronize] + pull_request: jobs: notify: runs-on: ubuntu-20.04 steps: - - name: Checkout - uses: actions/checkout@v2 - name: "Notify test workflow" uses: actions/github-script@v3 if: github.base_ref == 'master' && github.repository == 'apache/spark'