Skip to content

Commit d0317a1

Browse files
authored
Update push main notification card (#213)
1 parent eb1ca4a commit d0317a1

File tree

1 file changed

+3
-1
lines changed

1 file changed

+3
-1
lines changed

.github/workflows/push_notification.yml

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8,6 +8,8 @@ on:
88
jobs:
99
notify-push-main:
1010
runs-on: ubuntu-latest
11+
env:
12+
COMMIT: ${{ github.event.head_commit.message }}
1113
steps:
1214
- name: Main Branch Push
1315
run: |
@@ -24,7 +26,7 @@ jobs:
2426
{
2527
"header": {
2628
"title": "Push to main branch",
27-
"subtitle": "${{ github.event.head_commit.message }}"
29+
"subtitle": "$COMMIT"
2830
},
2931
"sections": [
3032
{

0 commit comments

Comments
 (0)