Skip to content

Commit

Permalink
prettier message
Browse files Browse the repository at this point in the history
  • Loading branch information
ewei068 committed Sep 28, 2024
1 parent aff823b commit 2d7627a
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion .github/workflows/discord-webook.yml
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,7 @@ jobs:
- name: Get embed details
id: embed_details
run: |
echo "COMMIT_MESSAGE=$(git log --no-merges -1 --pretty=%h%B)" >> $GITHUB_ENV
echo "COMMIT_MESSAGE=$(git log --no-merges -1 --pretty="%h: %B")" >> $GITHUB_ENV
if [ "${{ github.event_name }}" == "pull_request" ]; then
if [ "${{ github.event.action }}" == "opened" ] || [ "${{ github.event.action }}" == "reopened" ]; then
echo "EMBED_TITLE=Pull Request: ${{ github.event.pull_request.title }} (#${{ github.event.pull_request.number }}) Opened" >> $GITHUB_ENV
Expand Down

0 comments on commit 2d7627a

Please sign in to comment.