-
Notifications
You must be signed in to change notification settings - Fork 475
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
ci: skip announce when package is already published (#8438)
- Loading branch information
Showing
2 changed files
with
18 additions
and
18 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -7,6 +7,7 @@ jobs: | |
publish: | ||
name: Publish | ||
runs-on: ubuntu-latest | ||
allow-failure: true | ||
env: | ||
NX_SKIP_NX_CACHE: true | ||
steps: | ||
|
@@ -29,24 +30,23 @@ jobs: | |
id: info | ||
run: echo "version=v$(node -p "require('./package.json').version")" >> $GITHUB_OUTPUT | ||
|
||
# TODO: uncomment later | ||
# - name: Announce to Time messenger | ||
# uses: taiga-family/ci/actions/messenger/time/[email protected] | ||
# if: ${{ !contains(steps.info.outputs.version, 'rc') }} | ||
# with: | ||
# url: ${{ secrets.ANNOUNCE_WEBHOOK }} | ||
# channel: ${{ secrets.ANNOUNCE_TARGET }} | ||
# version: ${{ steps.info.outputs.version }} | ||
- name: Announce to Time messenger | ||
uses: taiga-family/ci/actions/messenger/time/[email protected] | ||
if: ${{ !contains(steps.info.outputs.version, 'rc') }} | ||
with: | ||
url: ${{ secrets.ANNOUNCE_WEBHOOK }} | ||
channel: ${{ secrets.ANNOUNCE_TARGET }} | ||
version: ${{ steps.info.outputs.version }} | ||
|
||
# - name: Announce to Telegram messenger | ||
# uses: taiga-family/ci/actions/messenger/telegram/[email protected] | ||
# if: ${{ !contains(steps.info.outputs.version, 'rc') }} | ||
# with: | ||
# chatId: ${{ secrets.TAIGA_TELEGRAM_CHAT_ID }} | ||
# topicId: ${{ secrets.TAIGA_TELEGRAM_CHAT_THREAD_ID }} | ||
# token: ${{ secrets.TAIGA_TELEGRAM_BOT_TOKEN }} | ||
# version: ${{ steps.info.outputs.version }} | ||
# textLink: '@taiga-ui/cdk' | ||
- name: Announce to Telegram messenger | ||
uses: taiga-family/ci/actions/messenger/telegram/[email protected] | ||
if: ${{ !contains(steps.info.outputs.version, 'rc') }} | ||
with: | ||
chatId: ${{ secrets.TAIGA_TELEGRAM_CHAT_ID }} | ||
topicId: ${{ secrets.TAIGA_TELEGRAM_CHAT_THREAD_ID }} | ||
token: ${{ secrets.TAIGA_TELEGRAM_BOT_TOKEN }} | ||
version: ${{ steps.info.outputs.version }} | ||
textLink: '@taiga-ui/cdk' | ||
|
||
concurrency: | ||
group: release-${{ github.workflow }}-${{ github.ref }} | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters