Skip to content

fix: align LinkedIn publish Telegram notification with other formats - #200

Merged
ineedjet merged 1 commit into
mainfrom
fix/linkedin-telegram-notify-format
Sep 2, 2026
Merged

fix: align LinkedIn publish Telegram notification with other formats#200
ineedjet merged 1 commit into
mainfrom
fix/linkedin-telegram-notify-format

Conversation

@ineedjet

@ineedjet ineedjet commented Sep 2, 2026

Copy link
Copy Markdown
Contributor

Summary

  • Replaces the LinkedIn publish notification's -separated plain text (showing the raw urn:li:share:...) with the same *repo* • [link](url) ... style used by PR/issue/release Telegram notifications.
  • Adds prepare-telegram-linkedin-message, mirroring prepare-telegram-release-message's prepare/send split, with proper MarkdownV2 escaping — the previous inline YAML message would have broken under parse-mode: MarkdownV2 on tags/repos containing . or -.
  • The success message now links to the actual LinkedIn post (https://www.linkedin.com/feed/update/{urn}/) instead of showing the opaque URN.

Test plan

  • python3 -m pytest test/
  • hooks/actionlint.sh .github/workflows/publish-linkedin-release-shared.yml
  • yamllint -c config/yamllint.yml .github/workflows/publish-linkedin-release-shared.yml .github/actions/prepare-telegram-linkedin-message/action.yml

Replaces the raw urn:li:share:... URN and em-dash separator with the
same bold-repo + bullet + link style used by the PR/issue/release
notifications, via a dedicated prepare-telegram-linkedin-message action
(mirroring prepare-telegram-release-message). The success message now
links to the actual LinkedIn post instead of showing its opaque URN.

Also fixes unescaped MarkdownV2 special characters (e.g. "." in tags,
"-" in repo names) that would have broken the message under
parse-mode: MarkdownV2 if built inline in the workflow YAML.

Co-Authored-By: Claude Sonnet 5 <noreply@anthropic.com>
@ineedjet
ineedjet merged commit d5bea5a into main Sep 2, 2026
6 checks passed
@ineedjet
ineedjet deleted the fix/linkedin-telegram-notify-format branch September 2, 2026 22:06
@ineedjet ineedjet mentioned this pull request Sep 2, 2026
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