Skip to content
Closed
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
9 changes: 8 additions & 1 deletion .github/workflows/pr-merged.yml
Original file line number Diff line number Diff line change
Expand Up @@ -7,10 +7,17 @@ name: PR Merged Notification

on:
workflow_call:
secrets:
TELEGRAM_API_URL:
required: true
TELEGRAM_CHAT_ID:
required: true

jobs:
notify:
uses: domengabrovsek/github-actions/.github/workflows/send-telegram-message.yml@master
secrets: inherit
secrets:
TELEGRAM_API_URL: ${{ secrets.TELEGRAM_API_URL }}
TELEGRAM_CHAT_ID: ${{ secrets.TELEGRAM_CHAT_ID }}
with:
message: "✅ Pull Request Merged\n\n📝 Title: ${{ github.event.pull_request.title }}\n👤 Author: ${{ github.event.pull_request.user.login }}\n🌿 Branch: `${{ github.event.pull_request.head.ref }}` → `${{ github.event.pull_request.base.ref }}`\n🔗 Link: ${{ github.event.pull_request.html_url }}\n📊 Repository: ${{ github.repository }}"
10 changes: 8 additions & 2 deletions .github/workflows/pr-opened.yml
Original file line number Diff line number Diff line change
Expand Up @@ -7,10 +7,16 @@ name: PR Opened Notification

on:
workflow_call:

secrets:
TELEGRAM_API_URL:
required: true
TELEGRAM_CHAT_ID:
required: true
jobs:
notify:
uses: domengabrovsek/github-actions/.github/workflows/send-telegram-message.yml@master
secrets: inherit
secrets:
TELEGRAM_API_URL: ${{ secrets.TELEGRAM_API_URL }}
TELEGRAM_CHAT_ID: ${{ secrets.TELEGRAM_CHAT_ID }}
with:
message: "🚀 New Pull Request Opened\n\n📝 Title: ${{ github.event.pull_request.title }}\n👤 Author: ${{ github.event.pull_request.user.login }}\n🌿 Branch: `${{ github.event.pull_request.head.ref }}` → `${{ github.event.pull_request.base.ref }}`\n🔗 Link: ${{ github.event.pull_request.html_url }}\n📊 Repository: ${{ github.repository }}"
9 changes: 8 additions & 1 deletion .github/workflows/pr-updated.yml
Original file line number Diff line number Diff line change
Expand Up @@ -7,10 +7,17 @@ name: PR Updated Notification

on:
workflow_call:
secrets:
TELEGRAM_API_URL:
required: true
TELEGRAM_CHAT_ID:
required: true

jobs:
notify:
uses: domengabrovsek/github-actions/.github/workflows/send-telegram-message.yml@master
secrets: inherit
secrets:
TELEGRAM_API_URL: ${{ secrets.TELEGRAM_API_URL }}
TELEGRAM_CHAT_ID: ${{ secrets.TELEGRAM_CHAT_ID }}
with:
message: "🔄 Pull Request Updated\n\n📝 Title: ${{ github.event.pull_request.title }}\n👤 Author: ${{ github.event.pull_request.user.login }}\n🌿 Branch: `${{ github.event.pull_request.head.ref }}` → `${{ github.event.pull_request.base.ref }}`\n🔗 Link: ${{ github.event.pull_request.html_url }}\n📊 Repository: ${{ github.repository }}"