From 19589c083e7b28522b77f2fe47e3cbf5497e68cb Mon Sep 17 00:00:00 2001 From: Glenn Jocher Date: Mon, 29 Jan 2024 02:03:11 +0100 Subject: [PATCH 1/2] Update PR summary for `review_requested` --- .github/workflows/format.yml | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/.github/workflows/format.yml b/.github/workflows/format.yml index 3316a818..d9e55760 100644 --- a/.github/workflows/format.yml +++ b/.github/workflows/format.yml @@ -9,7 +9,8 @@ on: branches: [main, master] pull_request: branches: [main, master] - types: [opened, closed, synchronize] + # https://docs.github.com/en/actions/using-workflows/events-that-trigger-workflows#pull_request + types: [opened, closed, synchronize, review_requested] jobs: format: From 6b4706e60b97994ec20579dda46546661c686e40 Mon Sep 17 00:00:00 2001 From: Glenn Jocher Date: Mon, 29 Jan 2024 02:06:41 +0100 Subject: [PATCH 2/2] Update action.yml --- action.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/action.yml b/action.yml index 352c03e2..95fff10f 100644 --- a/action.yml +++ b/action.yml @@ -153,7 +153,7 @@ runs: # PR Summary ------------------------------------------------------------------------------------------------------- - name: PR Summary - if: inputs.summary == 'true' && (github.event_name == 'pull_request' || github.event_name == 'pull_request_target') && (github.event.action == 'opened' || github.event.action == 'closed') + if: inputs.summary == 'true' && (github.event_name == 'pull_request' || github.event_name == 'pull_request_target') && github.event.action != 'synchronize' env: REPO_NAME: ${{ github.repository }} PR_NUMBER: ${{ github.event.pull_request.number }}