From 31e38c9186e104d18f83c27e3dfd3cdf62404a87 Mon Sep 17 00:00:00 2001 From: Akshay Nair Date: Wed, 7 Oct 2020 23:12:49 +0530 Subject: [PATCH] Changes if check --- .github/workflows/bot.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/workflows/bot.yml b/.github/workflows/bot.yml index a6f58b71d..1b1ee6cf7 100644 --- a/.github/workflows/bot.yml +++ b/.github/workflows/bot.yml @@ -13,7 +13,7 @@ jobs: steps: - uses: actions/checkout@v2 - name: Comment - if: github.event_name == 'pull_request' && github.event.action == 'closed' && github.event.pull_request.merged == true + if: github.event_name == 'pull_request' && github.event.action == 'closed' && github.event.pull_request_target.merged == true uses: actions/github-script@v3 with: github-token: ${{secrets.GITHUB_TOKEN}}