Skip to content

Commit

Permalink
♻️ refactor: update CI notification #4
Browse files Browse the repository at this point in the history
  • Loading branch information
pnguyen215 committed Sep 7, 2024
1 parent 040521b commit 32a89f1
Showing 1 changed file with 15 additions and 13 deletions.
28 changes: 15 additions & 13 deletions .github/workflows/ci_notify.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down Expand Up @@ -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 }}`

0 comments on commit 32a89f1

Please sign in to comment.