Skip to content

Sync the publish branch into main - #32

Open
Fiona2016 wants to merge 7 commits into
mainfrom
chore/sync-publish-into-main
Open

Sync the publish branch into main#32
Fiona2016 wants to merge 7 commits into
mainfrom
chore/sync-publish-into-main

Conversation

@Fiona2016

Copy link
Copy Markdown
Collaborator

publish carries the releases — npm is at the version it holds and the release tags sit on it — and it has drifted seven commits ahead of main since the last reconciliation. Bringing them back level keeps either branch a place you can release from, and spares the next person working out which one is true.

main has nothing of its own here: it is strictly behind, so this is a fast-forward and nothing had to be resolved.

What comes across

  • v0.1.0, the release itself
  • A release no longer fails when the DingTalk notification does, and the notification input is quoted the way Prettier expects
  • Release success notifications also go to a second DingTalk group

All of it is release plumbing; no product code changes.

What this does not carry

The remote sampling configuration work is still open in #30 against publish, so none of it is here. This sync is only about the seven commits above.

Bring main onto the release line
Duplicate each success notification step to post to a second DingTalk robot via the DING_TALK_TOKEN_2 / DING_TALK_SECRET_2 secrets. Failure notifications are unchanged and still go to the original robot only.
…-group

ci: also send release success notifications to a second DingTalk group
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.
The repository formats YAML with `singleQuote`, so the double-quoted value
failed the format check.
…rror

ci: do not fail a release when the DingTalk notification fails
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