Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Create telegram notification #260

Closed
wants to merge 39 commits into from
Closed
Changes from all commits
Commits
Show all changes
39 commits
Select commit Hold shift + click to select a range
8040223
Create telegram notification
hieuwu Aug 11, 2024
4f3ce14
Update main.yml
hieuwu Aug 11, 2024
8e3ce2e
Update main.yml
hieuwu Aug 11, 2024
9c3abe3
Update main.yml
hieuwu Aug 11, 2024
8272fa5
Update main.yml
hieuwu Aug 11, 2024
331546e
Update main.yml
hieuwu Aug 11, 2024
b998f58
Update main.yml
hieuwu Aug 11, 2024
b4a80c7
Update main.yml
hieuwu Aug 11, 2024
4fb2b97
Update main.yml
hieuwu Aug 11, 2024
66481da
Update main.yml
hieuwu Aug 11, 2024
6c24dd8
Update main.yml
hieuwu Aug 11, 2024
e88d402
Update main.yml
hieuwu Aug 11, 2024
4aeb2fb
Update main.yml
hieuwu Aug 11, 2024
0a636ec
Update main.yml
hieuwu Aug 11, 2024
23bea10
Update main.yml
hieuwu Aug 11, 2024
380f8b2
Update main.yml
hieuwu Aug 11, 2024
ba88b2f
Update main.yml
hieuwu Aug 11, 2024
3c070ff
Update main.yml
hieuwu Aug 11, 2024
5e888c9
Update main.yml
hieuwu Aug 11, 2024
dd7da77
Update main.yml
hieuwu Aug 11, 2024
6fcfb2c
Update main.yml
hieuwu Aug 11, 2024
a1d6a43
Update main.yml
hieuwu Aug 11, 2024
aa26dc6
Update main.yml
hieuwu Aug 11, 2024
684ee54
Update main.yml
hieuwu Aug 11, 2024
29a1451
Update main.yml
hieuwu Aug 11, 2024
2a1e6bd
Update main.yml
hieuwu Aug 17, 2024
3da094a
Update main.yml
hieuwu Aug 17, 2024
f707b7e
Update main.yml
hieuwu Aug 17, 2024
38562a3
Update main.yml
hieuwu Aug 17, 2024
2963e41
Update main.yml
hieuwu Aug 17, 2024
f36a0cc
Update main.yml
hieuwu Aug 17, 2024
ff680bd
Update main.yml
hieuwu Aug 17, 2024
763fc46
Update main.yml
hieuwu Aug 17, 2024
e352a23
Update main.yml
hieuwu Aug 17, 2024
af7a70a
Update main.yml
hieuwu Aug 18, 2024
bd13b8c
Update main.yml
hieuwu Aug 18, 2024
2a15d73
Update main.yml
hieuwu Aug 18, 2024
d531022
Update main.yml
hieuwu Aug 18, 2024
25a8b8c
Update main.yml
hieuwu Aug 18, 2024
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
29 changes: 29 additions & 0 deletions .github/workflows/main.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,29 @@
name: Telegram message
on:
pull_request:
branches: [ "main" ]
jobs:

build:
name: Send Telegram message
runs-on: ubuntu-latest
steps:
- name: View github environment
run: |
echo github.event.number = ${{ github.event.number }}
echo github.event.pull_request.number = ${{ github.event.pull_request.number }}
echo github.event.issue.number = ${{ github.event.issue.number }}
- name: send telegram message on push
uses: appleboy/telegram-action@master
with:
to: ${{ secrets.TELEGRAM_TO }}
token: ${{ secrets.TELEGRAM_TOKEN }}
format: markdown
message: |
👨‍💻 *New PR Updates from ${{ github.actor }}*

⭐️ *Latest commit*: ${{ github.event.commits[0].message }}

🚀 *PR*: https://github.com/${{ github.repository }}

🛠️ *Changes*: https://github.com/${{ github.repository }}/commit/${{github.sha}}
Loading