https://github.com/egnuez/telegram-action
Telegram Action
https://github.com/egnuez/telegram-action
github-actions javascript telegram
Last synced: 3 months ago
JSON representation
Telegram Action
- Host: GitHub
- URL: https://github.com/egnuez/telegram-action
- Owner: egnuez
- Created: 2020-07-09T17:06:41.000Z (almost 5 years ago)
- Default Branch: master
- Last Pushed: 2022-08-18T19:29:38.000Z (almost 3 years ago)
- Last Synced: 2024-12-31T10:55:44.839Z (5 months ago)
- Topics: github-actions, javascript, telegram
- Language: JavaScript
- Homepage:
- Size: 79.1 KB
- Stars: 0
- Watchers: 0
- Forks: 0
- Open Issues: 2
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# Telegram action
Sends commit message and custom message to a Telegram Chat ID
## Inputs
### `bot-token`
**Mandatory** Telegram Bot Token.
### `chat-id`
**Mandatory** Chat where the message is send to.
### `custom-message`
Custom message.
## Example
```yml
on: [push]jobs:
telegram_job:
runs-on: ubuntu-latest
name: Send alert to Telegram
steps:
- name: Telegram action step
uses: emilianito/telegram-action@v1
with:
bot-token: ${{ secrets.TELEGRAM_BOT_TOKEN }}
chat-id: ${{ secrets.TELEGRAM_CHAT_ID }}
custom-message: 'Custom message'
```