From 8040223e5ccf1ab06e757a98de841c1e14c76c07 Mon Sep 17 00:00:00 2001 From: Hieu Vu Date: Sun, 11 Aug 2024 19:41:36 +0700 Subject: [PATCH 01/39] Create telegram notification --- .github/workflows/main.yml | 20 ++++++++++++++++++++ 1 file changed, 20 insertions(+) create mode 100644 .github/workflows/main.yml diff --git a/.github/workflows/main.yml b/.github/workflows/main.yml new file mode 100644 index 00000000..2d1d6d49 --- /dev/null +++ b/.github/workflows/main.yml @@ -0,0 +1,20 @@ +name: Telegram message +on: [push] +jobs: + + build: + name: Send Telegram message + runs-on: ubuntu-latest + steps: + - name: send telegram message on push + uses: appleboy/telegram-action@master + with: + to: ${{ secrets.TELEGRAM_TO }} + token: ${{ secrets.TELEGRAM_TOKEN }} + message: | + ${{ github.actor }} created commit: + Commit message: ${{ github.event.commits[0].message }} + + Repository: ${{ github.repository }} + + See changes: https://github.com/${{ github.repository }}/commit/${{github.sha}} From 4f3ce14da4750779baf9003450be8a5545e76dbe Mon Sep 17 00:00:00 2001 From: Hieu Vu Date: Sun, 11 Aug 2024 19:45:30 +0700 Subject: [PATCH 02/39] Update main.yml --- .github/workflows/main.yml | 8 +------- 1 file changed, 1 insertion(+), 7 deletions(-) diff --git a/.github/workflows/main.yml b/.github/workflows/main.yml index 2d1d6d49..e40cc519 100644 --- a/.github/workflows/main.yml +++ b/.github/workflows/main.yml @@ -11,10 +11,4 @@ jobs: with: to: ${{ secrets.TELEGRAM_TO }} token: ${{ secrets.TELEGRAM_TOKEN }} - message: | - ${{ github.actor }} created commit: - Commit message: ${{ github.event.commits[0].message }} - - Repository: ${{ github.repository }} - - See changes: https://github.com/${{ github.repository }}/commit/${{github.sha}} + message: Sent from GitHub From 8e3ce2e9893ed11199b3699be60d214665d06c17 Mon Sep 17 00:00:00 2001 From: Hieu Vu Date: Sun, 11 Aug 2024 19:53:22 +0700 Subject: [PATCH 03/39] Update main.yml --- .github/workflows/main.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/workflows/main.yml b/.github/workflows/main.yml index e40cc519..ee976543 100644 --- a/.github/workflows/main.yml +++ b/.github/workflows/main.yml @@ -9,6 +9,6 @@ jobs: - name: send telegram message on push uses: appleboy/telegram-action@master with: - to: ${{ secrets.TELEGRAM_TO }} + to: ${{ secrets.TEGRAM_HIEU }} token: ${{ secrets.TELEGRAM_TOKEN }} message: Sent from GitHub From 9c3abe369fe76726a2fe705c2ca37f31af16e221 Mon Sep 17 00:00:00 2001 From: Hieu Vu Date: Sun, 11 Aug 2024 20:02:20 +0700 Subject: [PATCH 04/39] Update main.yml --- .github/workflows/main.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/workflows/main.yml b/.github/workflows/main.yml index ee976543..578fdea1 100644 --- a/.github/workflows/main.yml +++ b/.github/workflows/main.yml @@ -9,6 +9,6 @@ jobs: - name: send telegram message on push uses: appleboy/telegram-action@master with: - to: ${{ secrets.TEGRAM_HIEU }} + to: ${{ secrets.TEGRAM_TO }} token: ${{ secrets.TELEGRAM_TOKEN }} message: Sent from GitHub From 8272fa5d14ddaad6be68e4518865a3eb3dadcaf3 Mon Sep 17 00:00:00 2001 From: Hieu Vu Date: Sun, 11 Aug 2024 20:19:07 +0700 Subject: [PATCH 05/39] Update main.yml --- .github/workflows/main.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/workflows/main.yml b/.github/workflows/main.yml index 578fdea1..e40cc519 100644 --- a/.github/workflows/main.yml +++ b/.github/workflows/main.yml @@ -9,6 +9,6 @@ jobs: - name: send telegram message on push uses: appleboy/telegram-action@master with: - to: ${{ secrets.TEGRAM_TO }} + to: ${{ secrets.TELEGRAM_TO }} token: ${{ secrets.TELEGRAM_TOKEN }} message: Sent from GitHub From 331546e21a39fce3a98fd51322291d5dbda92b52 Mon Sep 17 00:00:00 2001 From: Hieu Vu Date: Sun, 11 Aug 2024 20:23:39 +0700 Subject: [PATCH 06/39] Update main.yml --- .github/workflows/main.yml | 8 +++++++- 1 file changed, 7 insertions(+), 1 deletion(-) diff --git a/.github/workflows/main.yml b/.github/workflows/main.yml index e40cc519..2d1d6d49 100644 --- a/.github/workflows/main.yml +++ b/.github/workflows/main.yml @@ -11,4 +11,10 @@ jobs: with: to: ${{ secrets.TELEGRAM_TO }} token: ${{ secrets.TELEGRAM_TOKEN }} - message: Sent from GitHub + message: | + ${{ github.actor }} created commit: + Commit message: ${{ github.event.commits[0].message }} + + Repository: ${{ github.repository }} + + See changes: https://github.com/${{ github.repository }}/commit/${{github.sha}} From b998f5895aeaaa96da3b02f128017a051ba6ae7d Mon Sep 17 00:00:00 2001 From: Hieu Vu Date: Sun, 11 Aug 2024 20:25:20 +0700 Subject: [PATCH 07/39] Update main.yml --- .github/workflows/main.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/workflows/main.yml b/.github/workflows/main.yml index 2d1d6d49..117133ef 100644 --- a/.github/workflows/main.yml +++ b/.github/workflows/main.yml @@ -15,6 +15,6 @@ jobs: ${{ github.actor }} created commit: Commit message: ${{ github.event.commits[0].message }} - Repository: ${{ github.repository }} + Repository: https://github.com/${{ github.repository }} See changes: https://github.com/${{ github.repository }}/commit/${{github.sha}} From b4a80c75c6bc21d45648d2414b027ee2f6b82cfa Mon Sep 17 00:00:00 2001 From: Hieu Vu Date: Sun, 11 Aug 2024 20:27:41 +0700 Subject: [PATCH 08/39] Update main.yml --- .github/workflows/main.yml | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) diff --git a/.github/workflows/main.yml b/.github/workflows/main.yml index 117133ef..58bc28f2 100644 --- a/.github/workflows/main.yml +++ b/.github/workflows/main.yml @@ -12,9 +12,8 @@ jobs: to: ${{ secrets.TELEGRAM_TO }} token: ${{ secrets.TELEGRAM_TOKEN }} message: | - ${{ github.actor }} created commit: - Commit message: ${{ github.event.commits[0].message }} + ${{ github.actor }} created commit with message: ${{ github.event.commits[0].message }} - Repository: https://github.com/${{ github.repository }} + PR: https://github.com/${{ github.repository }}/${{ github.event.number }} See changes: https://github.com/${{ github.repository }}/commit/${{github.sha}} From 4fb2b97b0b6ff0e4a958b939f4f4d796801830fe Mon Sep 17 00:00:00 2001 From: Hieu Vu Date: Sun, 11 Aug 2024 20:35:07 +0700 Subject: [PATCH 09/39] Update main.yml --- .github/workflows/main.yml | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/.github/workflows/main.yml b/.github/workflows/main.yml index 58bc28f2..48598375 100644 --- a/.github/workflows/main.yml +++ b/.github/workflows/main.yml @@ -12,8 +12,8 @@ jobs: to: ${{ secrets.TELEGRAM_TO }} token: ${{ secrets.TELEGRAM_TOKEN }} message: | - ${{ github.actor }} created commit with message: ${{ github.event.commits[0].message }} + ⭐️ **${{ github.actor }}** created commit with message: ${{ github.event.commits[0].message }} - PR: https://github.com/${{ github.repository }}/${{ github.event.number }} + 🚀 **PR**: https://github.com/${{ github.repository }}/${{ github.event.number }} - See changes: https://github.com/${{ github.repository }}/commit/${{github.sha}} + 🛠️ **Changes**: https://github.com/${{ github.repository }}/commit/${{github.sha}} From 66481da91856453b950cc515c0caa8451f662b9e Mon Sep 17 00:00:00 2001 From: Hieu Vu Date: Sun, 11 Aug 2024 20:36:34 +0700 Subject: [PATCH 10/39] Update main.yml --- .github/workflows/main.yml | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/.github/workflows/main.yml b/.github/workflows/main.yml index 48598375..09693ba6 100644 --- a/.github/workflows/main.yml +++ b/.github/workflows/main.yml @@ -12,8 +12,8 @@ jobs: to: ${{ secrets.TELEGRAM_TO }} token: ${{ secrets.TELEGRAM_TOKEN }} message: | - ⭐️ **${{ github.actor }}** created commit with message: ${{ github.event.commits[0].message }} + ⭐️ ${{ github.actor }} created commit with message: ${{ github.event.commits[0].message }} - 🚀 **PR**: https://github.com/${{ github.repository }}/${{ github.event.number }} + 🚀 PR: https://github.com/${{ github.repository }}/${{ github.event.pull_request.number }} - 🛠️ **Changes**: https://github.com/${{ github.repository }}/commit/${{github.sha}} + 🛠️ Changes: https://github.com/${{ github.repository }}/commit/${{github.sha}} From 6c24dd8117f04b00eb23b19f112db94d1b7d6028 Mon Sep 17 00:00:00 2001 From: Hieu Vu Date: Sun, 11 Aug 2024 20:39:34 +0700 Subject: [PATCH 11/39] Update main.yml --- .github/workflows/main.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/workflows/main.yml b/.github/workflows/main.yml index 09693ba6..f02bb768 100644 --- a/.github/workflows/main.yml +++ b/.github/workflows/main.yml @@ -14,6 +14,6 @@ jobs: message: | ⭐️ ${{ github.actor }} created commit with message: ${{ github.event.commits[0].message }} - 🚀 PR: https://github.com/${{ github.repository }}/${{ github.event.pull_request.number }} + 🚀 PR: https://github.com/${{ github.repository }}/${{ github.event.number }} 🛠️ Changes: https://github.com/${{ github.repository }}/commit/${{github.sha}} From e88d402534c8fc7c62494caf08ee2b7c6c195aaa Mon Sep 17 00:00:00 2001 From: Hieu Vu Date: Sun, 11 Aug 2024 20:41:23 +0700 Subject: [PATCH 12/39] Update main.yml --- .github/workflows/main.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/workflows/main.yml b/.github/workflows/main.yml index f02bb768..09693ba6 100644 --- a/.github/workflows/main.yml +++ b/.github/workflows/main.yml @@ -14,6 +14,6 @@ jobs: message: | ⭐️ ${{ github.actor }} created commit with message: ${{ github.event.commits[0].message }} - 🚀 PR: https://github.com/${{ github.repository }}/${{ github.event.number }} + 🚀 PR: https://github.com/${{ github.repository }}/${{ github.event.pull_request.number }} 🛠️ Changes: https://github.com/${{ github.repository }}/commit/${{github.sha}} From 4aeb2fb8addcdc63b253dbed2030960924907b5a Mon Sep 17 00:00:00 2001 From: Hieu Vu Date: Sun, 11 Aug 2024 20:42:04 +0700 Subject: [PATCH 13/39] Update main.yml --- .github/workflows/main.yml | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/.github/workflows/main.yml b/.github/workflows/main.yml index 09693ba6..a68b4e7c 100644 --- a/.github/workflows/main.yml +++ b/.github/workflows/main.yml @@ -14,6 +14,6 @@ jobs: message: | ⭐️ ${{ github.actor }} created commit with message: ${{ github.event.commits[0].message }} - 🚀 PR: https://github.com/${{ github.repository }}/${{ github.event.pull_request.number }} - + 🚀 PR: https://github.com/${{ github.repository }}/ + ${{ github.event.pull_request.number }} 🛠️ Changes: https://github.com/${{ github.repository }}/commit/${{github.sha}} From 0a636ec135a12f0ee28122f1e991f32d382bb295 Mon Sep 17 00:00:00 2001 From: Hieu Vu Date: Sun, 11 Aug 2024 20:49:20 +0700 Subject: [PATCH 14/39] Update main.yml --- .github/workflows/main.yml | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/.github/workflows/main.yml b/.github/workflows/main.yml index a68b4e7c..0e010fc2 100644 --- a/.github/workflows/main.yml +++ b/.github/workflows/main.yml @@ -11,9 +11,10 @@ jobs: with: to: ${{ secrets.TELEGRAM_TO }} token: ${{ secrets.TELEGRAM_TOKEN }} + format: markdown message: | ⭐️ ${{ github.actor }} created commit with message: ${{ github.event.commits[0].message }} - 🚀 PR: https://github.com/${{ github.repository }}/ + 🚀 **PR**: https://github.com/${{ github.repository }}/ ${{ github.event.pull_request.number }} - 🛠️ Changes: https://github.com/${{ github.repository }}/commit/${{github.sha}} + 🛠️ **Changes**: https://github.com/${{ github.repository }}/commit/${{github.sha}} From 23bea10fa57787b7aaf939e433fa7a39e5ae2c0d Mon Sep 17 00:00:00 2001 From: Hieu Vu Date: Sun, 11 Aug 2024 20:50:01 +0700 Subject: [PATCH 15/39] Update main.yml --- .github/workflows/main.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/workflows/main.yml b/.github/workflows/main.yml index 0e010fc2..b5cff565 100644 --- a/.github/workflows/main.yml +++ b/.github/workflows/main.yml @@ -17,4 +17,4 @@ jobs: 🚀 **PR**: https://github.com/${{ github.repository }}/ ${{ github.event.pull_request.number }} - 🛠️ **Changes**: https://github.com/${{ github.repository }}/commit/${{github.sha}} + 🛠️ **Changes** : https://github.com/${{ github.repository }}/commit/${{github.sha}} From 380f8b26291a48710ee9647821f4eb4047e6920f Mon Sep 17 00:00:00 2001 From: Hieu Vu Date: Sun, 11 Aug 2024 20:50:23 +0700 Subject: [PATCH 16/39] Update main.yml --- .github/workflows/main.yml | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/.github/workflows/main.yml b/.github/workflows/main.yml index b5cff565..8e712607 100644 --- a/.github/workflows/main.yml +++ b/.github/workflows/main.yml @@ -15,6 +15,6 @@ jobs: message: | ⭐️ ${{ github.actor }} created commit with message: ${{ github.event.commits[0].message }} - 🚀 **PR**: https://github.com/${{ github.repository }}/ - ${{ github.event.pull_request.number }} + 🚀 **PR**: https://github.com/${{ github.repository }} + 🛠️ **Changes** : https://github.com/${{ github.repository }}/commit/${{github.sha}} From ba88b2fff39c40877dc548d07b2ff7ba37dcce5b Mon Sep 17 00:00:00 2001 From: Hieu Vu Date: Sun, 11 Aug 2024 20:51:33 +0700 Subject: [PATCH 17/39] Update main.yml --- .github/workflows/main.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/workflows/main.yml b/.github/workflows/main.yml index 8e712607..3c35772d 100644 --- a/.github/workflows/main.yml +++ b/.github/workflows/main.yml @@ -11,7 +11,7 @@ jobs: with: to: ${{ secrets.TELEGRAM_TO }} token: ${{ secrets.TELEGRAM_TOKEN }} - format: markdown + format: MarkdownV2 message: | ⭐️ ${{ github.actor }} created commit with message: ${{ github.event.commits[0].message }} From 3c070ff53317160f2e4ed6b1e8967e43571cb75c Mon Sep 17 00:00:00 2001 From: Hieu Vu Date: Sun, 11 Aug 2024 20:53:41 +0700 Subject: [PATCH 18/39] Update main.yml --- .github/workflows/main.yml | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/.github/workflows/main.yml b/.github/workflows/main.yml index 3c35772d..5e686421 100644 --- a/.github/workflows/main.yml +++ b/.github/workflows/main.yml @@ -11,10 +11,11 @@ jobs: with: to: ${{ secrets.TELEGRAM_TO }} token: ${{ secrets.TELEGRAM_TOKEN }} - format: MarkdownV2 message: | ⭐️ ${{ github.actor }} created commit with message: ${{ github.event.commits[0].message }} - 🚀 **PR**: https://github.com/${{ github.repository }} + 🚀 **PR** : https://github.com/${{ github.repository }} + + ${{ github.event.pull_request.html_url }} 🛠️ **Changes** : https://github.com/${{ github.repository }}/commit/${{github.sha}} From 5e888c9c6624d09b583cc856a9bd72a947fbbc83 Mon Sep 17 00:00:00 2001 From: Hieu Vu Date: Sun, 11 Aug 2024 20:54:43 +0700 Subject: [PATCH 19/39] Update main.yml --- .github/workflows/main.yml | 8 ++------ 1 file changed, 2 insertions(+), 6 deletions(-) diff --git a/.github/workflows/main.yml b/.github/workflows/main.yml index 5e686421..cd384586 100644 --- a/.github/workflows/main.yml +++ b/.github/workflows/main.yml @@ -13,9 +13,5 @@ jobs: token: ${{ secrets.TELEGRAM_TOKEN }} message: | ⭐️ ${{ github.actor }} created commit with message: ${{ github.event.commits[0].message }} - - 🚀 **PR** : https://github.com/${{ github.repository }} - - ${{ github.event.pull_request.html_url }} - - 🛠️ **Changes** : https://github.com/${{ github.repository }}/commit/${{github.sha}} + 🚀 PR: https://github.com/${{ github.repository }} + 🛠️ Changes: https://github.com/${{ github.repository }}/commit/${{github.sha}} From dd7da770811a2a4aed36e00d36103c7e20792e11 Mon Sep 17 00:00:00 2001 From: Hieu Vu Date: Sun, 11 Aug 2024 20:56:21 +0700 Subject: [PATCH 20/39] Update main.yml --- .github/workflows/main.yml | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/.github/workflows/main.yml b/.github/workflows/main.yml index cd384586..c7d25650 100644 --- a/.github/workflows/main.yml +++ b/.github/workflows/main.yml @@ -11,7 +11,12 @@ jobs: with: to: ${{ secrets.TELEGRAM_TO }} token: ${{ secrets.TELEGRAM_TOKEN }} + parse-mode: markdown message: | + **PR Updates** + ⭐️ ${{ github.actor }} created commit with message: ${{ github.event.commits[0].message }} + 🚀 PR: https://github.com/${{ github.repository }} + 🛠️ Changes: https://github.com/${{ github.repository }}/commit/${{github.sha}} From 6fcfb2c065a2207fe38b45e1ab3baf92fb662bb7 Mon Sep 17 00:00:00 2001 From: Hieu Vu Date: Sun, 11 Aug 2024 20:58:09 +0700 Subject: [PATCH 21/39] Update main.yml --- .github/workflows/main.yml | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/.github/workflows/main.yml b/.github/workflows/main.yml index c7d25650..3567c5df 100644 --- a/.github/workflows/main.yml +++ b/.github/workflows/main.yml @@ -11,9 +11,9 @@ jobs: with: to: ${{ secrets.TELEGRAM_TO }} token: ${{ secrets.TELEGRAM_TOKEN }} - parse-mode: markdown + format: markdown message: | - **PR Updates** + *PR Updates* ⭐️ ${{ github.actor }} created commit with message: ${{ github.event.commits[0].message }} From a1d6a43e398b1476a971e03b8c351c26bfaf9256 Mon Sep 17 00:00:00 2001 From: Hieu Vu Date: Sun, 11 Aug 2024 20:59:45 +0700 Subject: [PATCH 22/39] Update main.yml --- .github/workflows/main.yml | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/.github/workflows/main.yml b/.github/workflows/main.yml index 3567c5df..cbf5bb84 100644 --- a/.github/workflows/main.yml +++ b/.github/workflows/main.yml @@ -13,10 +13,10 @@ jobs: token: ${{ secrets.TELEGRAM_TOKEN }} format: markdown message: | - *PR Updates* + 👨‍💻 *PR Updates* ⭐️ ${{ github.actor }} created commit with message: ${{ github.event.commits[0].message }} - 🚀 PR: https://github.com/${{ github.repository }} + 🚀 *PR*: https://github.com/${{ github.repository }} - 🛠️ Changes: https://github.com/${{ github.repository }}/commit/${{github.sha}} + 🛠️ *Changes*: https://github.com/${{ github.repository }}/commit/${{github.sha}} From aa26dc684c7c09d0c8c60f4885880a3b60d31b5d Mon Sep 17 00:00:00 2001 From: Hieu Vu Date: Sun, 11 Aug 2024 21:02:27 +0700 Subject: [PATCH 23/39] Update main.yml --- .github/workflows/main.yml | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/.github/workflows/main.yml b/.github/workflows/main.yml index cbf5bb84..a9957b47 100644 --- a/.github/workflows/main.yml +++ b/.github/workflows/main.yml @@ -13,9 +13,9 @@ jobs: token: ${{ secrets.TELEGRAM_TOKEN }} format: markdown message: | - 👨‍💻 *PR Updates* + 👨‍💻 *${{ github.actor }} just made a PR Updates* - ⭐️ ${{ github.actor }} created commit with message: ${{ github.event.commits[0].message }} + ⭐️ Latest commit message*: ${{ github.event.commits[0].message }} 🚀 *PR*: https://github.com/${{ github.repository }} From 684ee54f56572047884ac94c53a97dccf4c2325f Mon Sep 17 00:00:00 2001 From: Hieu Vu Date: Sun, 11 Aug 2024 21:03:27 +0700 Subject: [PATCH 24/39] Update main.yml --- .github/workflows/main.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/workflows/main.yml b/.github/workflows/main.yml index a9957b47..da7682a0 100644 --- a/.github/workflows/main.yml +++ b/.github/workflows/main.yml @@ -13,7 +13,7 @@ jobs: token: ${{ secrets.TELEGRAM_TOKEN }} format: markdown message: | - 👨‍💻 *${{ github.actor }} just made a PR Updates* + 👨‍💻 *New PR Updates* ⭐️ Latest commit message*: ${{ github.event.commits[0].message }} From 29a14514f335f31112a636abf0e42a1769dca1db Mon Sep 17 00:00:00 2001 From: Hieu Vu Date: Sun, 11 Aug 2024 21:05:03 +0700 Subject: [PATCH 25/39] Update main.yml --- .github/workflows/main.yml | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/.github/workflows/main.yml b/.github/workflows/main.yml index da7682a0..a4b90e04 100644 --- a/.github/workflows/main.yml +++ b/.github/workflows/main.yml @@ -13,9 +13,9 @@ jobs: token: ${{ secrets.TELEGRAM_TOKEN }} format: markdown message: | - 👨‍💻 *New PR Updates* + 👨‍💻 *New PR Updates from ${{ github.actor }}* - ⭐️ Latest commit message*: ${{ github.event.commits[0].message }} + ⭐️ *Latest commit*: ${{ github.event.commits[0].message }} 🚀 *PR*: https://github.com/${{ github.repository }} From 2a1e6bdc84402600d5ee7c7f051299116b50f679 Mon Sep 17 00:00:00 2001 From: Hieu Vu Date: Sat, 17 Aug 2024 14:22:20 +0700 Subject: [PATCH 26/39] Update main.yml --- .github/workflows/main.yml | 2 ++ 1 file changed, 2 insertions(+) diff --git a/.github/workflows/main.yml b/.github/workflows/main.yml index a4b90e04..85f41f4d 100644 --- a/.github/workflows/main.yml +++ b/.github/workflows/main.yml @@ -17,6 +17,8 @@ jobs: ⭐️ *Latest commit*: ${{ github.event.commits[0].message }} + ${{ github.event.number }} + 🚀 *PR*: https://github.com/${{ github.repository }} 🛠️ *Changes*: https://github.com/${{ github.repository }}/commit/${{github.sha}} From 3da094ae79003bfa8638fc0c15b0e20306e613fd Mon Sep 17 00:00:00 2001 From: Hieu Vu Date: Sat, 17 Aug 2024 14:24:32 +0700 Subject: [PATCH 27/39] Update main.yml --- .github/workflows/main.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/workflows/main.yml b/.github/workflows/main.yml index 85f41f4d..e1b54ff1 100644 --- a/.github/workflows/main.yml +++ b/.github/workflows/main.yml @@ -17,7 +17,7 @@ jobs: ⭐️ *Latest commit*: ${{ github.event.commits[0].message }} - ${{ github.event.number }} + ${{ steps.pr.outputs.pull_request_number }} 🚀 *PR*: https://github.com/${{ github.repository }} From f707b7e66a6c39ce0d1db4510b030094fcd5b0e2 Mon Sep 17 00:00:00 2001 From: Hieu Vu Date: Sat, 17 Aug 2024 14:25:25 +0700 Subject: [PATCH 28/39] Update main.yml --- .github/workflows/main.yml | 6 ++---- 1 file changed, 2 insertions(+), 4 deletions(-) diff --git a/.github/workflows/main.yml b/.github/workflows/main.yml index e1b54ff1..a768d9ff 100644 --- a/.github/workflows/main.yml +++ b/.github/workflows/main.yml @@ -15,10 +15,8 @@ jobs: message: | 👨‍💻 *New PR Updates from ${{ github.actor }}* - ⭐️ *Latest commit*: ${{ github.event.commits[0].message }} - - ${{ steps.pr.outputs.pull_request_number }} - + ⭐️ *Latest commit*: ${{ github.event.commits[0].message }} ${{ github.event.pull_request_number }} + 🚀 *PR*: https://github.com/${{ github.repository }} 🛠️ *Changes*: https://github.com/${{ github.repository }}/commit/${{github.sha}} From 38562a3707930e7ef25073e8cf9f373052e1a5ba Mon Sep 17 00:00:00 2001 From: Hieu Vu Date: Sat, 17 Aug 2024 14:29:10 +0700 Subject: [PATCH 29/39] Update main.yml --- .github/workflows/main.yml | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/.github/workflows/main.yml b/.github/workflows/main.yml index a768d9ff..0f9f3b6c 100644 --- a/.github/workflows/main.yml +++ b/.github/workflows/main.yml @@ -15,8 +15,7 @@ jobs: message: | 👨‍💻 *New PR Updates from ${{ github.actor }}* - ⭐️ *Latest commit*: ${{ github.event.commits[0].message }} ${{ github.event.pull_request_number }} - + ⭐️ *Latest commit*: ${{ github.event.commits[0].message }} ${{github.event.issue.number}} 🚀 *PR*: https://github.com/${{ github.repository }} 🛠️ *Changes*: https://github.com/${{ github.repository }}/commit/${{github.sha}} From 2963e415ff0c897b7839e1c9c464c66101ca04d0 Mon Sep 17 00:00:00 2001 From: Hieu Vu Date: Sat, 17 Aug 2024 14:29:50 +0700 Subject: [PATCH 30/39] Update main.yml --- .github/workflows/main.yml | 2 ++ 1 file changed, 2 insertions(+) diff --git a/.github/workflows/main.yml b/.github/workflows/main.yml index 0f9f3b6c..73a3ce3b 100644 --- a/.github/workflows/main.yml +++ b/.github/workflows/main.yml @@ -16,6 +16,8 @@ jobs: 👨‍💻 *New PR Updates from ${{ github.actor }}* ⭐️ *Latest commit*: ${{ github.event.commits[0].message }} ${{github.event.issue.number}} + ${{github.event.number}} + 🚀 *PR*: https://github.com/${{ github.repository }} 🛠️ *Changes*: https://github.com/${{ github.repository }}/commit/${{github.sha}} From f36a0cc9e7d9dbe489d9f6b688cc08ffdff2d84b Mon Sep 17 00:00:00 2001 From: Hieu Vu Date: Sat, 17 Aug 2024 14:31:58 +0700 Subject: [PATCH 31/39] Update main.yml --- .github/workflows/main.yml | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/.github/workflows/main.yml b/.github/workflows/main.yml index 73a3ce3b..ce4037c9 100644 --- a/.github/workflows/main.yml +++ b/.github/workflows/main.yml @@ -6,6 +6,11 @@ jobs: 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: From ff680bd9ba853ac0d498330ae5d8782b8b85fe52 Mon Sep 17 00:00:00 2001 From: Hieu Vu Date: Sat, 17 Aug 2024 14:33:58 +0700 Subject: [PATCH 32/39] Update main.yml --- .github/workflows/main.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/workflows/main.yml b/.github/workflows/main.yml index ce4037c9..33c4d6d1 100644 --- a/.github/workflows/main.yml +++ b/.github/workflows/main.yml @@ -7,7 +7,7 @@ jobs: runs-on: ubuntu-latest steps: - name: View github environment - - run: | + 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 }} From 763fc46262f4340b69aa9c5bc9c18edc10052c29 Mon Sep 17 00:00:00 2001 From: Hieu Vu Date: Sat, 17 Aug 2024 14:36:32 +0700 Subject: [PATCH 33/39] Update main.yml --- .github/workflows/main.yml | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/.github/workflows/main.yml b/.github/workflows/main.yml index 33c4d6d1..dae0e962 100644 --- a/.github/workflows/main.yml +++ b/.github/workflows/main.yml @@ -1,5 +1,9 @@ name: Telegram message -on: [push] +on: + push: + branches: [ "main" ] + pull_request: + branches: [ "main" ] jobs: build: From e352a230670a7abe58eee965a195922dc70b76ae Mon Sep 17 00:00:00 2001 From: Hieu Vu Date: Sat, 17 Aug 2024 14:42:38 +0700 Subject: [PATCH 34/39] Update main.yml --- .github/workflows/main.yml | 2 -- 1 file changed, 2 deletions(-) diff --git a/.github/workflows/main.yml b/.github/workflows/main.yml index dae0e962..26ab038e 100644 --- a/.github/workflows/main.yml +++ b/.github/workflows/main.yml @@ -1,7 +1,5 @@ name: Telegram message on: - push: - branches: [ "main" ] pull_request: branches: [ "main" ] jobs: From af7a70a62883742d1600d1049b89eb0e2ff930a8 Mon Sep 17 00:00:00 2001 From: Hieu Vu Date: Sun, 18 Aug 2024 20:47:20 +0700 Subject: [PATCH 35/39] Update main.yml --- .github/workflows/main.yml | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) diff --git a/.github/workflows/main.yml b/.github/workflows/main.yml index 26ab038e..e98af582 100644 --- a/.github/workflows/main.yml +++ b/.github/workflows/main.yml @@ -22,9 +22,8 @@ jobs: message: | 👨‍💻 *New PR Updates from ${{ github.actor }}* - ⭐️ *Latest commit*: ${{ github.event.commits[0].message }} ${{github.event.issue.number}} - ${{github.event.number}} + ⭐️ *Latest commit*: ${{ github.event.commits[0].message }} 🚀 *PR*: https://github.com/${{ github.repository }} - + ${{ github.event.commit[0].message }} 🛠️ *Changes*: https://github.com/${{ github.repository }}/commit/${{github.sha}} From bd13b8cc6c0021a8cbbb1bc9da04cd26ebbc8948 Mon Sep 17 00:00:00 2001 From: Hieu Vu Date: Sun, 18 Aug 2024 20:49:20 +0700 Subject: [PATCH 36/39] Update main.yml --- .github/workflows/main.yml | 1 + 1 file changed, 1 insertion(+) diff --git a/.github/workflows/main.yml b/.github/workflows/main.yml index e98af582..c4f4a0fc 100644 --- a/.github/workflows/main.yml +++ b/.github/workflows/main.yml @@ -27,3 +27,4 @@ jobs: 🚀 *PR*: https://github.com/${{ github.repository }} ${{ github.event.commit[0].message }} 🛠️ *Changes*: https://github.com/${{ github.repository }}/commit/${{github.sha}} + ${{ github.event.pull_request.head.sha }} From 2a15d73fb92f767b72f2a84509ff1e7f8fe2d6de Mon Sep 17 00:00:00 2001 From: Hieu Vu Date: Sun, 18 Aug 2024 20:52:03 +0700 Subject: [PATCH 37/39] Update main.yml --- .github/workflows/main.yml | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/.github/workflows/main.yml b/.github/workflows/main.yml index c4f4a0fc..eaca9871 100644 --- a/.github/workflows/main.yml +++ b/.github/workflows/main.yml @@ -25,6 +25,7 @@ jobs: ⭐️ *Latest commit*: ${{ github.event.commits[0].message }} 🚀 *PR*: https://github.com/${{ github.repository }} - ${{ github.event.commit[0].message }} + ${{ github.event.workflow_run.head_commit.message }} + 🛠️ *Changes*: https://github.com/${{ github.repository }}/commit/${{github.sha}} ${{ github.event.pull_request.head.sha }} From d5310220bfdf548a26e4a3bc20980b49e919a4c1 Mon Sep 17 00:00:00 2001 From: Hieu Vu Date: Sun, 18 Aug 2024 20:53:51 +0700 Subject: [PATCH 38/39] Update main.yml --- .github/workflows/main.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/workflows/main.yml b/.github/workflows/main.yml index eaca9871..aee73191 100644 --- a/.github/workflows/main.yml +++ b/.github/workflows/main.yml @@ -26,6 +26,6 @@ jobs: 🚀 *PR*: https://github.com/${{ github.repository }} ${{ github.event.workflow_run.head_commit.message }} - + ${{ github.event.head_commit.message }} 🛠️ *Changes*: https://github.com/${{ github.repository }}/commit/${{github.sha}} ${{ github.event.pull_request.head.sha }} From 25a8b8ca0fd8e294b52f27bf579d419362176ba3 Mon Sep 17 00:00:00 2001 From: Hieu Vu Date: Sun, 18 Aug 2024 20:54:31 +0700 Subject: [PATCH 39/39] Update main.yml --- .github/workflows/main.yml | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) diff --git a/.github/workflows/main.yml b/.github/workflows/main.yml index aee73191..488e86b6 100644 --- a/.github/workflows/main.yml +++ b/.github/workflows/main.yml @@ -25,7 +25,5 @@ jobs: ⭐️ *Latest commit*: ${{ github.event.commits[0].message }} 🚀 *PR*: https://github.com/${{ github.repository }} - ${{ github.event.workflow_run.head_commit.message }} - ${{ github.event.head_commit.message }} + 🛠️ *Changes*: https://github.com/${{ github.repository }}/commit/${{github.sha}} - ${{ github.event.pull_request.head.sha }}