diff --git a/.github/workflows/positron-full-test.yml b/.github/workflows/positron-full-test.yml index 5cac3236649..2decaabdeb8 100644 --- a/.github/workflows/positron-full-test.yml +++ b/.github/workflows/positron-full-test.yml @@ -148,7 +148,7 @@ jobs: path: .build/logs/smoke-tests-electron/ - name: slack-smoke-test-report - if: always() + if: failure() uses: testlabauto/xunit-slack-reporter@v2.0.1 env: SLACK_CHANNEL: C07FR1JNZNJ #positron-test-results channel diff --git a/.github/workflows/positron-merge-to-main.yml b/.github/workflows/positron-merge-to-main.yml index 22ce555180d..fe21801633c 100644 --- a/.github/workflows/positron-merge-to-main.yml +++ b/.github/workflows/positron-merge-to-main.yml @@ -115,7 +115,7 @@ jobs: path: .build/logs/smoke-tests-electron/ - name: slack-smoke-test-report - if: failure() + if: ${{ failure() && inputs.smoketest_target == 'smoketest-merge-to-main' }} uses: testlabauto/xunit-slack-reporter@v2.0.1 env: SLACK_CHANNEL: C07FR1JNZNJ #positron-test-results channel