From 96178fcce325b30229d7f0f0c599ba75b0d6ae93 Mon Sep 17 00:00:00 2001 From: splincode Date: Wed, 2 Oct 2024 14:26:42 +0300 Subject: [PATCH] ci: announce for only released packages --- .github/workflows/release.yml | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/.github/workflows/release.yml b/.github/workflows/release.yml index c3af94f..86ee304 100644 --- a/.github/workflows/release.yml +++ b/.github/workflows/release.yml @@ -20,6 +20,7 @@ jobs: steps: - uses: actions/checkout@v4.2.0 - uses: taiga-family/ci/actions/run/release-it@v1.91.0 + id: release-it with: ref: ${{ github.ref }} mode: ${{ github.event.inputs.mode }} @@ -32,7 +33,8 @@ jobs: path: ./projects/ng-polymorpheus/package.json - name: Announce to Telegram - uses: taiga-family/ci/actions/messenger/telegram/announce@v1.91.0 + if: steps.release-it.outputs.released == 'true' + uses: taiga-family/ci/actions/messenger/telegram/announce@v1.89.0 with: chatId: ${{ secrets.TAIGA_TELEGRAM_CHAT_ID }} topicId: ${{ secrets.TAIGA_TELEGRAM_CHAT_THREAD_ID }}