Explorar o código

add commit link to prod notifs (#3832)

Feroze Mohideen %!s(int64=2) %!d(string=hai) anos
pai
achega
a868e18078
Modificáronse 1 ficheiros con 2 adicións e 2 borrados
  1. 2 2
      .github/workflows/production.yml

+ 2 - 2
.github/workflows/production.yml

@@ -19,7 +19,7 @@ jobs:
       with:
       with:
         payload: |
         payload: |
           {
           {
-            "text": "porter prod deploy started (In Progress)",
+            "text": "porter prod deploy started (In Progress)\n${{ github.event.pull_request.html_url || github.event.head_commit.url }}",
             "attachments": [
             "attachments": [
               {
               {
                 "pretext": "Deployment started",
                 "pretext": "Deployment started",
@@ -133,7 +133,7 @@ jobs:
         update-ts: ${{ steps.deploy-start.outputs.deploy-ts }}
         update-ts: ${{ steps.deploy-start.outputs.deploy-ts }}
         payload: |
         payload: |
           {
           {
-            "text": "porter prod deploy completed",
+            "text": "porter prod deploy completed\n${{ github.event.pull_request.html_url || github.event.head_commit.url }}",
             "attachments": [
             "attachments": [
               {
               {
                 "pretext": "Deployment completed",
                 "pretext": "Deployment completed",