Skip to content

Commit 8d7f953

Browse files
committed
fix: add telegram bot, codeowners, PR template
1 parent b0babe2 commit 8d7f953

3 files changed

Lines changed: 50 additions & 0 deletions

File tree

.github/CODEOWNERS

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,3 @@
1+
# Global owners
2+
3+
* Metasig/devs

.github/pull_request_template.md

Lines changed: 25 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,25 @@
1+
# Summary
2+
3+
- One-line summary of the change and why it matters.
4+
5+
## Context
6+
7+
- Links: issue, ticket, or related PRs.
8+
9+
## Changes
10+
11+
- Short bullet list of the key changes made.
12+
13+
## Checklist
14+
15+
- [ ] Tests added/updated
16+
- [ ] Docs updated (if needed)
17+
18+
## Risks
19+
20+
- Brief note about possible risks or impact.
21+
22+
## How to test
23+
24+
- Short, reproducible steps to verify the change.
25+
z

.github/telegram-notification.yml

Lines changed: 22 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,22 @@
1+
name: Telegram notification
2+
3+
on:
4+
pull_request:
5+
types: [opened, reopened]
6+
7+
jobs:
8+
telegram-bot:
9+
name: Telegram Bot
10+
runs-on: ubuntu-latest
11+
steps:
12+
- name: Telegram Notify
13+
uses: appleboy/telegram-action@master
14+
with:
15+
to: ${{ secrets.TELEGRAM_TO }}
16+
token: ${{ secrets.TELEGRAM_TOKEN }}
17+
format: markdown
18+
disable_web_page_preview: true
19+
message: |
20+
${{ github.event.pull_request.draft && '📝 New draft PR' || '🔔 New PR' }} by: *${{ github.event.pull_request.user.login }}*
21+
*${{ github.event.pull_request.title }}*
22+
🔍 ${{ github.event.pull_request.html_url }}

0 commit comments

Comments
 (0)