From 2af164b3e93c4ee7391a41a91f059b7a16cd1a0c Mon Sep 17 00:00:00 2001 From: Howard Wu <40033067+Howard20181@users.noreply.github.com> Date: Sun, 15 Jan 2023 23:42:18 +0800 Subject: [PATCH] [skip ci] Skip post to telegram when creating tag (#2331) --- .github/workflows/core.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/workflows/core.yml b/.github/workflows/core.yml index 6a8233c5..74dbb461 100644 --- a/.github/workflows/core.yml +++ b/.github/workflows/core.yml @@ -110,7 +110,7 @@ jobs: daemon/build/symbols dex2oat/build/symbols - name: Post to channel - if: ${{ success() && ( ( github.event_name != 'pull_request' && github.ref == 'refs/heads/master' ) || github.ref_type == 'tag' ) }} + if: ${{ success() && github.event_name != 'pull_request' && github.ref == 'refs/heads/master' && github.ref_type != 'tag' }} env: CHANNEL_ID: ${{ secrets.CHANNEL_ID }} DISCUSSION_ID: ${{ secrets.DISCUSSION_ID }}