Skip to content
send

GitHub Action

VK Teams Notification

v1.0.0 Latest version

VK Teams Notification

send

VK Teams Notification

Sending a VK Teams message

Installation

Copy and paste the following snippet into your .yml file.

              

- name: VK Teams Notification

uses: dosymep/[email protected]

Learn more about this action in dosymep/vk-teams-action

Choose a version

vk-teams action

License MIT

GitHub Action for sending a VK Teams notification message.

Inputs

  • to Required chat id.
  • token Required bot token.
  • api_url Required bot api url. Default https://myteam.mail.ru/bot/v1.
  • message Optional custom message.
  • message_file Optional overwrite the default message template with the contents of the specified file.
  • format Optional message format: MarkdownV2 or HTML. Default "MarkdownV2". See text formatting.
  • file_path Optional send file.

Outputs

  • response VK Teams server response.

Example usage

Default message

- name: Send message (default)
  uses: dosymep/vk-teams-action@v1
  with:
    to: ${{ secrets.VK_TEAMS_TO }}
    token: ${{ secrets.VK_TEAMS_TOKEN }}
    api_url: ${{ secrets.VK_TEAMS_API_URL }}

Custom message

- name: Send message (custom)
  uses: dosymep/vk-teams-action@v1
  with:
    to: ${{ secrets.VK_TEAMS_TO }}
    token: ${{ secrets.VK_TEAMS_TOKEN }}
    api_url: ${{ secrets.VK_TEAMS_API_URL }}
    message: |
       [#42](https://github.com/${{ github.repository }})
       [repository](https://github.com/${{ github.repository }})