From cc27e3331a1b149a6ba73e47f242e0b700b13501 Mon Sep 17 00:00:00 2001 From: Akshay Nair Date: Wed, 7 Oct 2020 23:23:16 +0530 Subject: [PATCH] Changes pr event for pull_request_target --- .github/workflows/bot.yml | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/.github/workflows/bot.yml b/.github/workflows/bot.yml index 4611c096f..bce5baa0a 100644 --- a/.github/workflows/bot.yml +++ b/.github/workflows/bot.yml @@ -13,8 +13,7 @@ jobs: steps: - uses: actions/checkout@v2 - name: Comment - if: github.event_name == 'pull_request' && github.event.action == 'closed' - # && github.event.pull_request_target.merged == true + if: github.event_name == 'pull_request_target' && github.event.action == 'closed' && github.event.pull_request.merged == true uses: actions/github-script@v3 with: github-token: ${{secrets.GITHUB_TOKEN}}