Skip to content

GitHub Action for sending a VK Teams notification message.

License

Notifications You must be signed in to change notification settings

dosymep/vk-teams-action

Use this GitHub action with your project
Add this Action to an existing workflow or create a new one
View on Marketplace

Repository files navigation

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 }})

About

GitHub Action for sending a VK Teams notification message.

Resources

License

Stars

Watchers

Forks