Skip to content

ci: do not fail a release when the DingTalk notification fails - #32

Merged
Fiona2016 merged 1 commit into
publishfrom
ci/dingtalk-notify-ignore-error
Aug 24, 2026
Merged

ci: do not fail a release when the DingTalk notification fails#32
Fiona2016 merged 1 commit into
publishfrom
ci/dingtalk-notify-ignore-error

Conversation

@Fiona2016

Copy link
Copy Markdown
Collaborator

Problem

The release workflow treats 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 fails, and a publish that actually succeeded
is reported as a failed run.

This is not hypothetical: a recent release published successfully to the
registry and still showed up red, purely because the notification was rejected.

Change

Set ignoreError: "true" on every zcong1993/actions-ding step, so a rejected
notification is surfaced as a warning instead of failing the job.

The action supports this natively (ignoreError is a declared input). Message
content, destinations, and triggering conditions are unchanged.

Verification

  • actionlint output is byte-identical before and after on every touched file:
    the added lines introduce zero findings.
  • The diff is insert-only — no existing line is modified or removed.

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.
@Fiona2016
Fiona2016 merged commit 7b7680d into publish Aug 24, 2026
6 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant