From 3280107fe00a6b911c8966234b39108b0dc4f858 Mon Sep 17 00:00:00 2001 From: Shivangi Shree Date: Fri, 7 Aug 2026 16:21:21 +0530 Subject: [PATCH] [ACS-10175] Add logic to send notification only if the user adds label after creating pr --- .github/workflows/notify-on-an-bdu-label.yml | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/.github/workflows/notify-on-an-bdu-label.yml b/.github/workflows/notify-on-an-bdu-label.yml index acc0b94b0e..f969e4b162 100644 --- a/.github/workflows/notify-on-an-bdu-label.yml +++ b/.github/workflows/notify-on-an-bdu-label.yml @@ -16,7 +16,8 @@ jobs: if: >- github.event.action == 'labeled' && github.event.label.name == 'A/N BDU' && - github.event.pull_request.state == 'open' + github.event.pull_request.state == 'open' && + github.event.pull_request.created_at != github.event.pull_request.updated_at steps: - name: Send Teams notification uses: Alfresco/alfresco-build-tools/.github/actions/send-teams-notification@1d671f8f10336861c89c67be57c6648d98876103 # v18.19.0