Explorar el Código

Update push main notification card

Matthew Mathias hace 3 años
padre
commit
996101abe3
Se han modificado 1 ficheros con 3 adiciones y 1 borrados
  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": [
                 {