Skip to content

Commit

Permalink
fix: skip commit msg escape
Browse files Browse the repository at this point in the history
  • Loading branch information
p0n1 committed Jan 20, 2025
1 parent 22cfe75 commit 5e083a5
Showing 1 changed file with 1 addition and 7 deletions.
8 changes: 1 addition & 7 deletions .github/workflows/notify.yml
Original file line number Diff line number Diff line change
Expand Up @@ -21,12 +21,6 @@ jobs:
- name: Make escape script executable
run: chmod +x .github/workflows/escape_markdown.sh

- name: Escape commit message
if: github.event_name == 'push'
id: escape_commit
run: |
echo "message=$(echo '${{ github.event.head_commit.message }}' | .github/workflows/escape_markdown.sh)" >> $GITHUB_OUTPUT
- name: Send Telegram Message on Push
if: github.event_name == 'push'
uses: appleboy/telegram-action@master
Expand All @@ -42,7 +36,7 @@ jobs:
📝 *Commit Message:*
```
${{ steps.escape_commit.outputs.message }}
${{ github.event.head_commit.message }}
```
🔗 [View Commit](https://github.com/${{ github.repository }}/commit/${{github.sha}})
Expand Down

0 comments on commit 5e083a5

Please sign in to comment.