File tree Expand file tree Collapse file tree 1 file changed +0
-22
lines changed Expand file tree Collapse file tree 1 file changed +0
-22
lines changed Original file line number Diff line number Diff line change 6161 with :
6262 path : .vitepress/dist
6363
64- - name : Extract PR Description
65- id : extract
66- run : |
67- BODY="${{ github.event.pull_request.body }}"
68- # Extract from '# Releases' onward
69- RELEASE_NOTES=$(echo "$BODY" | awk '/^# Releases/{flag=1} flag')
70- # Save it to an environment variable
71- echo "RELEASE_NOTES<<EOF" >> $GITHUB_ENV
72- echo "$RELEASE_NOTES" >> $GITHUB_ENV
73- echo "EOF" >> $GITHUB_ENV
74-
75- - name : Send Telegram Message
76- uses : appleboy/telegram-action@master
77- with :
78- to : ${{ secrets.TELEGRAM_TO }}
79- token : ${{ secrets.TELEGRAM_TOKEN }}
80- message : |
81- 🚀 New Changeset PR Created
82- 🔗 PR: ${{ github.event.pull_request.html_url }}
83- 👤 Author: ${{ github.actor }}
84- 📦 Release Notes:
85- ${{ env.RELEASE_NOTES }}
8664
8765
8866 deploy :
You can’t perform that action at this time.
0 commit comments