Job cm removal test & fix #131
Workflow file for this run
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: PR notifications | |
on: | |
pull_request_target: | |
branches: | |
- main | |
types: | |
- opened | |
jobs: | |
pr-notifications: | |
name: Send PR notifications | |
if: github.event.pull_request.draft == false | |
runs-on: trampoline | |
steps: | |
- name: Send to notification chat | |
uses: appleboy/telegram-action@master | |
with: | |
to: ${{ secrets.TELEGRAM_NOTIFICATIONS_CHAT_ID }} | |
token: ${{ secrets.TELEGRAM_BOT_TOKEN }} | |
disable_web_page_preview: true | |
format: markdown | |
message: | | |
New PR in *${{ github.repository }}*: `${{ github.event.pull_request.title }}` | |
${{ github.server_url }}/${{ github.repository }}/pull/${{ github.event.number }} | |
- name: Send to k8s operator chat | |
uses: appleboy/telegram-action@master | |
with: | |
to: ${{ secrets.TELEGRAM_K8S_OPERATOR_CHAT_ID }} | |
token: ${{ secrets.TELEGRAM_BOT_TOKEN }} | |
disable_web_page_preview: true | |
format: markdown | |
message: | | |
New PR in *${{ github.repository }}*: `${{ github.event.pull_request.title }}` | |
${{ github.server_url }}/${{ github.repository }}/pull/${{ github.event.number }} | |