Skip to content

Update notification.yml #8

Update notification.yml

Update notification.yml #8

Workflow file for this run

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: https://github.com/H2xDev/GodotVMF/issues/${{ github.event.issue.number }}

Check failure on line 19 in .github/workflows/notification.yml

View workflow run for this annotation

GitHub Actions / .github/workflows/notification.yml

Invalid workflow file

You have an error in your yaml syntax on line 19
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: https://github.com/H2xDev/GodotVMF/issues/${{ github.event.issue.number }}