Quellcode durchsuchen

Update push main notification card (#213)

mdmathias vor 3 Jahren
Ursprung
Commit
d0317a189c
1 geänderte Dateien mit 3 neuen und 1 gelöschten Zeilen
  1. 3 1
      .github/workflows/push_notification.yml

+ 3 - 1
.github/workflows/push_notification.yml

@@ -8,6 +8,8 @@ on:
 jobs:
   notify-push-main:
     runs-on: ubuntu-latest
+    env:
+      COMMIT: ${{ github.event.head_commit.message }}
     steps:
     - name: Main Branch Push
       run: |
@@ -24,7 +26,7 @@ jobs:
             {
               "header": {
                 "title": "Push to main branch",
-                "subtitle": "${{ github.event.head_commit.message }}"
+                "subtitle": "$COMMIT"
               },
               "sections": [
                 {