name: Pull Request on: pull_request: types: - closed - opened jobs: notify: runs-on: debian-release steps: - name: Telegram Notify Channel uses: actions/telegram-notifier@main with: api_url: ${{ secrets.TELEGRAM_API_URL }} token: ${{ secrets.TELEGRAM_BOT_TOKEN }} chat_id: ${{ secrets.TELEGRAM_CHANNEL_ID }} status: ${{ job.status }} notify_fields: "actor,repository" - name: Telegram Notify Group uses: actions/telegram-notifier@main with: api_url: ${{ secrets.TELEGRAM_API_URL }} token: ${{ secrets.TELEGRAM_BOT_TOKEN }} chat_id: ${{ secrets.TELEGRAM_GROUP_ID }} status: ${{ job.status }} notify_fields: "actor,repository"