mirror of
https://github.com/valitydev/swag-wallets.git
synced 2024-11-06 02:45:19 +00:00
fix: Fix release pipeline notification (#96)
This commit is contained in:
parent
7a27699c7e
commit
bdcf97a539
10
.github/workflows/release.yml
vendored
10
.github/workflows/release.yml
vendored
@ -67,7 +67,10 @@ jobs:
|
||||
fi
|
||||
|
||||
COMMIT="${{ github.sha }}"
|
||||
# COMMIT_MSG="${{ github.event.commits[0]['message'] }}"
|
||||
COMMIT_MSG="$(cat <<EOF | head -n1
|
||||
${{ github.event.commits[0]['message'] }}
|
||||
EOF
|
||||
)"
|
||||
|
||||
REPO="${{ github.repository }}"
|
||||
RUN_ID="${{ github.run_id }}"
|
||||
@ -126,6 +129,11 @@ jobs:
|
||||
"short": true,
|
||||
"title": "Author",
|
||||
"value": "$AUTHOR_NAME"
|
||||
},
|
||||
{
|
||||
"short": false,
|
||||
"title": "Message",
|
||||
"value": "$COMMIT_MSG"
|
||||
}
|
||||
],
|
||||
"color": "$COLOR"
|
||||
|
Loading…
Reference in New Issue
Block a user