Skip to content

gadflysu/actions

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

12 Commits
 
 
 
 
 
 
 
 

Repository files navigation

gadflysu/actions

CI License: MIT

Handy GitHub Actions for your CI/CD workflows.

Actions

Action Description
notify-telegram Send CI status notifications to Telegram

Usage

notify-telegram

Send CI pass/fail notifications to Telegram. Add a notify job that runs after all other jobs:

jobs:
  build:
    runs-on: ubuntu-latest
    steps:
      - uses: actions/checkout@v4
      - run: make build

  notify:
    runs-on: ubuntu-latest
    needs: [build]
    if: always()
    steps:
      - uses: gadflysu/actions/notify-telegram@main
        with:
          token: ${{ secrets.TELEGRAM_BOT_TOKEN }}
          chat_id: ${{ secrets.TELEGRAM_CHAT_ID }}
          status: ${{ contains(needs.*.result, 'failure') && 'failure' || 'success' }}

See notify-telegram/README.md for full documentation.

About

Handy GitHub Actions for your CI/CD workflows

Topics

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Contributors