Skip to content

Commit 40756aa

Browse files
fix(ci): prevent duplicate Webex notifications on workflow re-runs
Add github.run_attempt == 1 condition to only send notifications on the first workflow run attempt, preventing duplicate messages when workflows are manually re-run.
1 parent 8fb13e4 commit 40756aa

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

.github/workflows/deploy.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -547,7 +547,7 @@ jobs:
547547
name: Send Webex Space Notification
548548
needs: [publish-tag, publish-npm, comment-on-pr]
549549
runs-on: ubuntu-latest
550-
if: always()
550+
if: always() && github.run_attempt == 1
551551

552552
steps:
553553
- name: Post Webex Space Message

0 commit comments

Comments
 (0)