xinthink/action-telegram

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

31 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Check StatusMIT

A simple Action sending Telegram notifications for workflows set up with Actions.

There's an article on Medium described in detail how I build this Action.

Add a step to your workflow in order to receive Telegram notifications, for example:

- name: notification
  if: cancelled() == false
  uses: xinthink/[email protected]
  with:
    botToken: ${{ secrets.BotToken }}
    chatId: ${{ secrets.ChatID }}
    jobStatus: ${{ job.status }}

You can find more details in action.yml

The Telegram message will look like:

Where Check will be the name of your workflow

Yarn is preferred for everyday tasks, so there's a yarn.lock instead of package-lock.json on the master branch. We will use yarn run (npm scripts) for handling the node_modules stuff, and also compiling TypeScript sources.

  • Run command yarn release before committing to release branches
  • Run command yarn dev before doing development tasks or committing to the master branch

About

Telegram notification for workflow set up with Actions

Topics

Resources

License

Stars

Watchers

Forks

Sponsor this project

    Packages

    No packages published