Updated the slack notification message to PR Title (#2869)

This commit is contained in:
Manish Gupta 2023-11-24 13:11:21 +05:30 committed by GitHub
parent 38a5b7bec0
commit 069b8b3ed9
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -98,7 +98,7 @@ jobs:
"action_name": "${{ github.workflow }}", "action_name": "${{ github.workflow }}",
"job_name": "${{ github.job }}", "job_name": "${{ github.job }}",
"status": "✅ ${{ job.status }}", "status": "✅ ${{ job.status }}",
"message": "${{ github.event.head_commit.message }} " "message": "${{ github.event.pull_request.title }} "
} }
env: env:
SLACK_WEBHOOK_URL: ${{ secrets.SLACK_GITHUB_BUILD_WEBHOOK }} SLACK_WEBHOOK_URL: ${{ secrets.SLACK_GITHUB_BUILD_WEBHOOK }}
@ -114,7 +114,7 @@ jobs:
"action_name": "${{ github.workflow }}", "action_name": "${{ github.workflow }}",
"job_name": "${{ github.job }}", "job_name": "${{ github.job }}",
"status": "❌ ${{ job.status }}", "status": "❌ ${{ job.status }}",
"message": "${{ github.event.head_commit.message }}" "message": "${{ github.event.pull_request.title }}"
} }
env: env:
SLACK_WEBHOOK_URL: ${{ secrets.SLACK_GITHUB_BUILD_WEBHOOK }} SLACK_WEBHOOK_URL: ${{ secrets.SLACK_GITHUB_BUILD_WEBHOOK }}
@ -163,7 +163,7 @@ jobs:
"action_name": "${{ github.workflow }}", "action_name": "${{ github.workflow }}",
"job_name": "${{ github.job }}", "job_name": "${{ github.job }}",
"status": "✅ ${{ job.status }}", "status": "✅ ${{ job.status }}",
"message": "${{ github.event.head_commit.message }} " "message": "${{ github.event.pull_request.title }} "
} }
env: env:
SLACK_WEBHOOK_URL: ${{ secrets.SLACK_GITHUB_BUILD_WEBHOOK }} SLACK_WEBHOOK_URL: ${{ secrets.SLACK_GITHUB_BUILD_WEBHOOK }}
@ -179,7 +179,7 @@ jobs:
"action_name": "${{ github.workflow }}", "action_name": "${{ github.workflow }}",
"job_name": "${{ github.job }}", "job_name": "${{ github.job }}",
"status": "❌ ${{ job.status }}", "status": "❌ ${{ job.status }}",
"message": "${{ github.event.head_commit.message }}" "message": "${{ github.event.pull_request.title }}"
} }
env: env:
SLACK_WEBHOOK_URL: ${{ secrets.SLACK_GITHUB_BUILD_WEBHOOK }} SLACK_WEBHOOK_URL: ${{ secrets.SLACK_GITHUB_BUILD_WEBHOOK }}
@ -226,7 +226,7 @@ jobs:
"action_name": "${{ github.workflow }}", "action_name": "${{ github.workflow }}",
"job_name": "${{ github.job }}", "job_name": "${{ github.job }}",
"status": "✅ ${{ job.status }}", "status": "✅ ${{ job.status }}",
"message": "${{ github.event.head_commit.message }} " "message": "${{ github.event.pull_request.title }} "
} }
env: env:
SLACK_WEBHOOK_URL: ${{ secrets.SLACK_GITHUB_BUILD_WEBHOOK }} SLACK_WEBHOOK_URL: ${{ secrets.SLACK_GITHUB_BUILD_WEBHOOK }}
@ -242,7 +242,7 @@ jobs:
"action_name": "${{ github.workflow }}", "action_name": "${{ github.workflow }}",
"job_name": "${{ github.job }}", "job_name": "${{ github.job }}",
"status": "❌ ${{ job.status }}", "status": "❌ ${{ job.status }}",
"message": "${{ github.event.head_commit.message }}" "message": "${{ github.event.pull_request.title }}"
} }
env: env:
SLACK_WEBHOOK_URL: ${{ secrets.SLACK_GITHUB_BUILD_WEBHOOK }} SLACK_WEBHOOK_URL: ${{ secrets.SLACK_GITHUB_BUILD_WEBHOOK }}
@ -287,7 +287,7 @@ jobs:
"action_name": "${{ github.workflow }}", "action_name": "${{ github.workflow }}",
"job_name": "${{ github.job }}", "job_name": "${{ github.job }}",
"status": "✅ ${{ job.status }}", "status": "✅ ${{ job.status }}",
"message": "${{ github.event.head_commit.message }} " "message": "${{ github.event.pull_request.title }} "
} }
env: env:
SLACK_WEBHOOK_URL: ${{ secrets.SLACK_GITHUB_BUILD_WEBHOOK }} SLACK_WEBHOOK_URL: ${{ secrets.SLACK_GITHUB_BUILD_WEBHOOK }}
@ -303,7 +303,7 @@ jobs:
"action_name": "${{ github.workflow }}", "action_name": "${{ github.workflow }}",
"job_name": "${{ github.job }}", "job_name": "${{ github.job }}",
"status": "❌ ${{ job.status }}", "status": "❌ ${{ job.status }}",
"message": "${{ github.event.head_commit.message }}" "message": "${{ github.event.pull_request.title }}"
} }
env: env:
SLACK_WEBHOOK_URL: ${{ secrets.SLACK_GITHUB_BUILD_WEBHOOK }} SLACK_WEBHOOK_URL: ${{ secrets.SLACK_GITHUB_BUILD_WEBHOOK }}
@ -350,7 +350,7 @@ jobs:
"action_name": "${{ github.workflow }}", "action_name": "${{ github.workflow }}",
"job_name": "${{ github.job }}", "job_name": "${{ github.job }}",
"status": "✅ ${{ job.status }}", "status": "✅ ${{ job.status }}",
"message": "${{ github.event.head_commit.message }} " "message": "${{ github.event.pull_request.title }} "
} }
env: env:
SLACK_WEBHOOK_URL: ${{ secrets.SLACK_GITHUB_BUILD_WEBHOOK }} SLACK_WEBHOOK_URL: ${{ secrets.SLACK_GITHUB_BUILD_WEBHOOK }}
@ -366,7 +366,7 @@ jobs:
"action_name": "${{ github.workflow }}", "action_name": "${{ github.workflow }}",
"job_name": "${{ github.job }}", "job_name": "${{ github.job }}",
"status": "❌ ${{ job.status }}", "status": "❌ ${{ job.status }}",
"message": "${{ github.event.head_commit.message }}" "message": "${{ github.event.pull_request.title }}"
} }
env: env:
SLACK_WEBHOOK_URL: ${{ secrets.SLACK_GITHUB_BUILD_WEBHOOK }} SLACK_WEBHOOK_URL: ${{ secrets.SLACK_GITHUB_BUILD_WEBHOOK }}