Skip to content

v1.2.33

v1.2.33 #37

Workflow file for this run

---
name: release-notification
on:
release:
types: [published]
permissions:
contents: read
jobs:
notify-on-release:
runs-on: ubuntu-latest
steps:
- name: Send Telegram Notification on new release
uses: cbrgm/telegram-github-action@fbfd41d2ca0ce96cf6fd0fbd90075299ce266201 # v1.3.7
with:
token: ${{ secrets.TELEGRAM_TOKEN }}
to: ${{ secrets.TELEGRAM_CHAT_ID }}
message: |
🚀 New Release Published!
Release Name: ${{ github.event.release.name }}
Tag: ${{ github.event.release.tag_name }}
Actor: ${{ github.actor }}
Repository: ${{ github.repository }}
Check it out: ${{ github.event.release.html_url }}
- name: Send Mastodon Status on new release
id: mastodon
uses: cbrgm/mastodon-github-action@84146b67a4872397c619a47c72151952a35ed4be # v2.1.18
if: ${{ !github.event.repository.private }}
with:
access-token: ${{ secrets.MASTODON_ACCESS_TOKEN }}
url: ${{ secrets.MASTODON_URL }}
language: "en"
message: |
🚀 ${{ github.repository }} ${{ github.event.release.name }} published!
Check it out: ${{ github.event.release.html_url }}
...