From 32a89f13d82b28e0d4e1c1fbb83720c835215a8d Mon Sep 17 00:00:00 2001 From: arisnguyenit97 Date: Sat, 7 Sep 2024 12:14:41 +0700 Subject: [PATCH] :recycle: refactor: update CI notification #4 --- .github/workflows/ci_notify.yml | 28 +++++++++++++++------------- 1 file changed, 15 insertions(+), 13 deletions(-) diff --git a/.github/workflows/ci_notify.yml b/.github/workflows/ci_notify.yml index bba77fc..24bf24b 100644 --- a/.github/workflows/ci_notify.yml +++ b/.github/workflows/ci_notify.yml @@ -35,13 +35,13 @@ jobs: token: ${{ secrets.TELEGRAM_BOT_TOKEN }} format: markdown message: | - 🚀 CI Commit - 🔯 `${{ github.actor }}` created commit: - - message: `${{ github.event.commits[0].message }}` - - hash: `${{ github.sha }}` - - repository: `${{ github.repository }}` - - head: `${{ github.event.head_commit.message }}` - 🍀 See changes: `https://github.com/${{ github.repository }}/commit/${{github.sha}}` + 🚀 *AI Workflow Administrator (AWA)* + - *username*: `${{ github.actor }}` + - *message*: `${{ github.event.commits[0].message }}` + - *hash*: `${{ github.sha }}` + - *repository*: `${{ github.repository }}` + - *head*: `${{ github.event.head_commit.message }}` + 🍀 *See changes*: `https://github.com/${{ github.repository }}/commit/${{github.sha}}` deploy: runs-on: ubuntu-latest @@ -102,10 +102,12 @@ jobs: token: ${{ secrets.TELEGRAM_BOT_TOKEN }} format: markdown message: | - 🚀 New tag created: **${{ env.TAG }}** - 🔯 `${{ github.actor }}` created tag: - - repository: `${{ github.repository }}` - - head: `${{ github.event.head_commit.message }}` - 🍀 See changes: `https://github.com/${{ github.repository }}/releases/tag/${{ env.TAG }}` - 📜 Changelog: + 🚀 *AI Workflow Administrator (AWA)* + - *latest tag*: *${{ env.TAG }}* + - *username*: `${{ github.actor }}` + - *hash*: `${{ github.sha }}` + - *repository*: `${{ github.repository }}` + - *head*: `${{ github.event.head_commit.message }}` + 🍀 *See changes*: `https://github.com/${{ github.repository }}/releases/tag/${{ env.TAG }}` + 📜 *Changelog*: `${{ steps.changelog.outputs.changelog }}`