Skip to content

Commit b1ccf7b

Browse files
committed
Update django--build-publish.yml
adding commit message
1 parent af068d7 commit b1ccf7b

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

.github/workflows/django--build-publish.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -108,7 +108,7 @@ jobs:
108108
MSG_MINIMAL: true
109109
SLACK_COLOR: '#fab005'
110110
SLACK_TITLE: 'Built and Published Package :package: `${{ env.CONTAINER_TAG }}`'
111-
SLACK_MESSAGE: "```sha: ${{ github.sha }}\nref: ${{ github.ref }}\nworkflow_ref: ${{ github.workflow_ref }}```"
111+
SLACK_MESSAGE: "```commit_sha: ${{ github.sha }}\ncommit_message: ${{ github.event.commits[0].message }}\nref: ${{ github.ref }}\nworkflow_ref: ${{ github.workflow_ref }}```"
112112
SLACK_USERNAME: rrchnm-systems
113113
SLACK_WEBHOOK: "${{ secrets.SLACK_WEBHOOK_SYSTEMS }}"
114114

@@ -123,6 +123,6 @@ jobs:
123123
MSG_MINIMAL: true
124124
SLACK_COLOR: '#c32a26'
125125
SLACK_TITLE: 'Build or Publish Package Failure :x: `${{ env.CONTAINER_TAG }}`'
126-
SLACK_MESSAGE: "```sha: ${{ github.sha }}\nref: ${{ github.ref }}\nworkflow_ref: ${{ github.workflow_ref }}```"
126+
SLACK_MESSAGE: "```commit_sha: ${{ github.sha }}\ncommit_message: ${{ github.event.commits[0].message }}\nref: ${{ github.ref }}\nworkflow_ref: ${{ github.workflow_ref }}```"
127127
SLACK_USERNAME: rrchnm-systems
128128
SLACK_WEBHOOK: "${{ secrets.SLACK_WEBHOOK_SYSTEMS }}"

0 commit comments

Comments
 (0)