Skip to content

Add concept and specifications pages about Jettons #44

Add concept and specifications pages about Jettons

Add concept and specifications pages about Jettons #44

name: Repository Activity Notifier
on:
push:
branches:
- main
pull_request:
types: [opened, closed, reopened]
issues:
types: [opened, closed, reopened]
jobs:
notify:
runs-on: ubuntu-latest
steps:
# Step 1: Send notification for push events
- name: Notify Push to Main
if: ${{ github.event_name == 'push' }}
uses: appleboy/[email protected]
with:
token: ${{ secrets.TG_TOKEN }}
to: ${{ secrets.TG_CHAT_ID }}
format: markdown
message: |
🚀 *New Push to Main*
- **Repository**: [${{ github.repository }}](https://github.com/${{ github.repository }})
- **Commit SHA**: [`${{ github.sha }}`](${{ github.server_url }}/${{ github.repository }}/commit/${{ github.sha }})
- **Commit Message**: `${{ github.event.head_commit.message }}`
- **Pusher**: `${{ github.actor }}`
# Step 2: Send notification for pull request events
- name: Notify Pull Request
if: ${{ github.event_name == 'pull_request' }}
uses: appleboy/[email protected]
with:
token: ${{ secrets.TG_TOKEN }}
to: ${{ secrets.TG_CHAT_ID }}
format: markdown
message: |
🔄 *Pull Request Activity*
- **Action**: `${{ github.event.action }}`
- **PR Title**: `${{ github.event.pull_request.title }}`
- **Author**: `${{ github.event.pull_request.user.login }}`
- **Branch**: `${{ github.event.pull_request.head.ref }}`
- **Pull Request URL**: [View PR](${{ github.event.pull_request.html_url }})
# Step 3: Send notification for issue events
- name: Notify Issues
if: ${{ github.event_name == 'issues' }}
uses: appleboy/[email protected]
with:
token: ${{ secrets.TG_TOKEN }}
to: ${{ secrets.TG_CHAT_ID }}
format: markdown
message: |
📝 *Issue Activity*
- **Action**: `${{ github.event.action }}`
- **Issue Title**: `${{ github.event.issue.title }}`
- **Author**: `${{ github.event.issue.user.login }}`
- **Issue URL**: [View Issue](${{ github.event.issue.html_url }})