Add documentation for using on linux #68
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
name: Notify | |
on: | |
issues: | |
types: [reopened, opened] | |
issue_comment: | |
types: [created, deleted] | |
jobs: | |
issue_created: | |
if: github.event_name == 'issues' | |
name: Notifying repo holder | |
runs-on: ubuntu-latest | |
steps: | |
- name: send telegram message on push | |
uses: appleboy/telegram-action@master | |
with: | |
to: ${{ secrets.TELEGRAM_CHAT }} | |
token: ${{ secrets.TELEGRAM_TOKEN }} | |
message: | | |
${{ github.actor }} created an issue: ${{ github.event.issue.title }} | |
See: https://github.com/H2xDev/GodotVMF/issues/${{ github.event.issue.number }} | |
issue_commented: | |
if: github.event_name == 'issue_comment' | |
name: Commented issue | |
runs-on: ubuntu-latest | |
steps: | |
- name: send telegram message on push | |
uses: appleboy/telegram-action@master | |
with: | |
to: ${{ secrets.TELEGRAM_CHAT }} | |
token: ${{ secrets.TELEGRAM_TOKEN }} | |
message: | | |
${{ github.actor }} left a comment: | |
${{ github.event.comment.body }} | |
https://github.com/H2xDev/GodotVMF/issues/${{ github.event.issue.number }}#issuecomment-${{ github.event.comment.id }} |