File tree Expand file tree Collapse file tree 1 file changed +16
-2
lines changed
Expand file tree Collapse file tree 1 file changed +16
-2
lines changed Original file line number Diff line number Diff line change @@ -108,7 +108,14 @@ jobs:
108108 MSG_MINIMAL : true
109109 SLACK_COLOR : ' #fab005'
110110 SLACK_TITLE : ' Built and Published Package :package: `${{ env.CONTAINER_TAG }}`'
111- SLACK_MESSAGE : " ```commit_sha: ${{ github.sha }}\n commit_message: ${{ github.event.commits[0].message }}\n ref: ${{ github.ref }}\n workflow_ref: ${{ github.workflow_ref }}```"
111+ SLACK_MESSAGE : |
112+ ```
113+ event_name: ${{ github.event_name }}
114+ ref: ${{ github.ref }}
115+ workflow_ref: ${{ github.workflow_ref }}
116+ commit_sha: ${{ github.sha }}
117+ commit_message: ${{ github.event.commits[0].message }}
118+ ```
112119 SLACK_USERNAME : rrchnm-systems
113120 SLACK_WEBHOOK : " ${{ secrets.SLACK_WEBHOOK_SYSTEMS }}"
114121
@@ -123,6 +130,13 @@ jobs:
123130 MSG_MINIMAL : true
124131 SLACK_COLOR : ' #c32a26'
125132 SLACK_TITLE : ' Build or Publish Package Failure :x: `${{ env.CONTAINER_TAG }}`'
126- SLACK_MESSAGE : " ```commit_sha: ${{ github.sha }}\n commit_message: ${{ github.event.commits[0].message }}\n ref: ${{ github.ref }}\n workflow_ref: ${{ github.workflow_ref }}```"
133+ SLACK_MESSAGE : |
134+ ```
135+ event_name: ${{ github.event_name }}
136+ ref: ${{ github.ref }}
137+ workflow_ref: ${{ github.workflow_ref }}
138+ commit_sha: ${{ github.sha }}
139+ commit_message: ${{ github.event.commits[0].message }}
140+ ```
127141 SLACK_USERNAME : rrchnm-systems
128142 SLACK_WEBHOOK : " ${{ secrets.SLACK_WEBHOOK_SYSTEMS }}"
You can’t perform that action at this time.
0 commit comments