diff --git a/.github/workflows/periodic-build.yml b/.github/workflows/periodic-build.yml index f73ede4946..708eea9800 100644 --- a/.github/workflows/periodic-build.yml +++ b/.github/workflows/periodic-build.yml @@ -51,7 +51,7 @@ jobs: NPM_TOKEN: ${{ secrets.NPM_TOKEN }} NODE_AUTH_TOKEN: ${{ secrets.NPM_TOKEN }} notify-end: - if: always() + if: ${{ needs.publish.result == 'failure' }} name: Notify release end needs: [notify-start, publish] uses: ho-nl/release-slack-action/.github/workflows/notify-slack-end.yml@main @@ -62,4 +62,4 @@ jobs: result: ${{ needs.publish.result }} channel: slack-test-messages message: Periodic build - notifyOnlyOnFailure: true \ No newline at end of file + notifyOnlyOnFailure: false \ No newline at end of file