This action sends a notification message to Telegram or Slack chat.
Powered by @codex_bot/notify application.
Required. Endpoint for sending message to chat.
Read the manual to get a webhook endpoint for your chat.
Required. Message text.
Mode for parsing entities in the message text. Empty by default.
HTML
or Markdown
(case insensitive) styles are supported.
Disables link previews for links in this message. false
by default.
Response message
Response status code
- name: Send a chat notification via @codex_bot
uses: codex-team/action-codexbot-notify@v1
with:
webhook: ${{ secrets.CODEXBOT_NOTIFY_WEBHOOK }}
message: '📦 [@editorjs/editorjs](https://npmjs.com/package/@editorjs/editorjs) 2.19.0 was published'
parse_mode: 'markdown'
disable_web_page_preview: true
You can use codex-team/action-nodejs-package-info to get package information automatically.
- name: Get package info
id: package
uses: codex-team/action-nodejs-package-info@v1
- name: Send a message
uses: codex-team/action-codexbot-notify@v1
with:
webhook: ${{ secrets.CODEX_BOT_CHAT }}
message: '📦 [${{ steps.package.outputs.name }}](${{ steps.package.outputs.npmjs-link }}) ${{ steps.package.outputs.version }} was published'
parse_mode: 'markdown'
disable_web_page_preview: true