From 91a5c5c4e1129d4a9a7cfe1140e0796353f69b27 Mon Sep 17 00:00:00 2001 From: Fiona Date: Mon, 24 Aug 2026 01:53:22 -0700 Subject: [PATCH 1/2] ci: do not fail a release when the DingTalk notification fails The release workflow treated the DingTalk notification as a build gate: when the robot API rejects a message -- for example once its per-minute rate limit is exhausted -- the notification step failed and marked an otherwise successful publish as failed. Set `ignoreError` on every DingTalk step so a rejected notification is reported as a warning instead of failing the job. The publish outcome no longer depends on the notification channel. --- .github/workflows/deploy-auto.yml | 3 +++ .github/workflows/deploy-manual.yml | 3 +++ 2 files changed, 6 insertions(+) diff --git a/.github/workflows/deploy-auto.yml b/.github/workflows/deploy-auto.yml index a85289f6e1..fe8ee08d29 100644 --- a/.github/workflows/deploy-auto.yml +++ b/.github/workflows/deploy-auto.yml @@ -140,6 +140,7 @@ jobs: - name: Notify deployment success uses: zcong1993/actions-ding@master with: + ignoreError: "true" dingToken: ${{ secrets.DING_TALK_TOKEN }} secret: ${{ secrets.DING_TALK_SECRET }} body: | @@ -154,6 +155,7 @@ jobs: - name: Notify secondary DingTalk group on success uses: zcong1993/actions-ding@master with: + ignoreError: "true" dingToken: ${{ secrets.DING_TALK_TOKEN_2 }} secret: ${{ secrets.DING_TALK_SECRET_2 }} body: | @@ -182,6 +184,7 @@ jobs: - name: Notify deployment failure uses: zcong1993/actions-ding@master with: + ignoreError: "true" dingToken: ${{ secrets.DING_TALK_TOKEN }} secret: ${{ secrets.DING_TALK_SECRET }} body: | diff --git a/.github/workflows/deploy-manual.yml b/.github/workflows/deploy-manual.yml index eed00a8300..4416348c34 100644 --- a/.github/workflows/deploy-manual.yml +++ b/.github/workflows/deploy-manual.yml @@ -148,6 +148,7 @@ jobs: - name: Notify deployment success uses: zcong1993/actions-ding@master with: + ignoreError: "true" dingToken: ${{ secrets.DING_TALK_TOKEN }} secret: ${{ secrets.DING_TALK_SECRET }} body: | @@ -162,6 +163,7 @@ jobs: - name: Notify secondary DingTalk group on success uses: zcong1993/actions-ding@master with: + ignoreError: "true" dingToken: ${{ secrets.DING_TALK_TOKEN_2 }} secret: ${{ secrets.DING_TALK_SECRET_2 }} body: | @@ -192,6 +194,7 @@ jobs: - name: Notify deployment failure uses: zcong1993/actions-ding@master with: + ignoreError: "true" dingToken: ${{ secrets.DING_TALK_TOKEN }} secret: ${{ secrets.DING_TALK_SECRET }} body: | From 2932001889774eaa8b505ccef46ae9fcb69a24e4 Mon Sep 17 00:00:00 2001 From: Fiona Date: Mon, 24 Aug 2026 02:04:56 -0700 Subject: [PATCH 2/2] ci: quote the ignoreError input the way Prettier expects The repository formats YAML with `singleQuote`, so the double-quoted value failed the format check. --- .github/workflows/deploy-auto.yml | 6 +++--- .github/workflows/deploy-manual.yml | 6 +++--- 2 files changed, 6 insertions(+), 6 deletions(-) diff --git a/.github/workflows/deploy-auto.yml b/.github/workflows/deploy-auto.yml index fe8ee08d29..a47bdf910c 100644 --- a/.github/workflows/deploy-auto.yml +++ b/.github/workflows/deploy-auto.yml @@ -140,7 +140,7 @@ jobs: - name: Notify deployment success uses: zcong1993/actions-ding@master with: - ignoreError: "true" + ignoreError: 'true' dingToken: ${{ secrets.DING_TALK_TOKEN }} secret: ${{ secrets.DING_TALK_SECRET }} body: | @@ -155,7 +155,7 @@ jobs: - name: Notify secondary DingTalk group on success uses: zcong1993/actions-ding@master with: - ignoreError: "true" + ignoreError: 'true' dingToken: ${{ secrets.DING_TALK_TOKEN_2 }} secret: ${{ secrets.DING_TALK_SECRET_2 }} body: | @@ -184,7 +184,7 @@ jobs: - name: Notify deployment failure uses: zcong1993/actions-ding@master with: - ignoreError: "true" + ignoreError: 'true' dingToken: ${{ secrets.DING_TALK_TOKEN }} secret: ${{ secrets.DING_TALK_SECRET }} body: | diff --git a/.github/workflows/deploy-manual.yml b/.github/workflows/deploy-manual.yml index 4416348c34..00d0c9b7fb 100644 --- a/.github/workflows/deploy-manual.yml +++ b/.github/workflows/deploy-manual.yml @@ -148,7 +148,7 @@ jobs: - name: Notify deployment success uses: zcong1993/actions-ding@master with: - ignoreError: "true" + ignoreError: 'true' dingToken: ${{ secrets.DING_TALK_TOKEN }} secret: ${{ secrets.DING_TALK_SECRET }} body: | @@ -163,7 +163,7 @@ jobs: - name: Notify secondary DingTalk group on success uses: zcong1993/actions-ding@master with: - ignoreError: "true" + ignoreError: 'true' dingToken: ${{ secrets.DING_TALK_TOKEN_2 }} secret: ${{ secrets.DING_TALK_SECRET_2 }} body: | @@ -194,7 +194,7 @@ jobs: - name: Notify deployment failure uses: zcong1993/actions-ding@master with: - ignoreError: "true" + ignoreError: 'true' dingToken: ${{ secrets.DING_TALK_TOKEN }} secret: ${{ secrets.DING_TALK_SECRET }} body: |