Skip to content

Commit 86b550b

Browse files
committed
New icon, move user mentions to env
1 parent 7757470 commit 86b550b

File tree

2 files changed

+6
-2
lines changed

2 files changed

+6
-2
lines changed

.github/actions/common/func.sh

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -340,6 +340,7 @@ slack_format_docker_image_urls_message() {
340340
)
341341
as $items
342342
| {
343+
icon_url: ":redis-circle:",
343344
text: ("🐳 Docker Images Published for Redis: " + $release_tag),
344345
blocks: [
345346
{
@@ -383,6 +384,7 @@ slack_format_docker_PR_message() {
383384
# Create Slack message payload
384385
cat << EOF
385386
{
387+
"icon_url": ":redis-circle:",
386388
"text": "🐳 Docker Library PR created for Redis: $release_tag",
387389
"blocks": [
388390
{

.github/workflows/release_publish.yml

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -16,6 +16,8 @@ env:
1616
#TARGET_OFFICIAL_IMAGES_REPO: docker-library/official-images
1717
TARGET_OFFICIAL_IMAGES_REPO: Peter-Sh/official-images
1818
FORKED_OFFICIAL_IMAGES_REPO: redis-developer/docker-library-official-images
19+
#PR_USER_MENTIONS: "@adamiBs @yossigo @adobrzhansky @maxb-io @dagansandler @Peter-Sh"
20+
PR_USER_MENTIONS: ""
1921

2022
# UUID is used to help automation to identify workflow run in the list of workflow runs.
2123
run-name: "Release Publish${{ github.event.inputs.workflow_uuid && format(': {0}', github.event.inputs.workflow_uuid) || '' }}"
@@ -113,9 +115,9 @@ jobs:
113115
114116
Release commit: ${{ steps.parse-release.outputs.release_commit_sha }}
115117
Release tag: v${{ steps.parse-release.outputs.release_version }}
116-
Compare: $GITHUB_SERVER_URL/$GITHUB_REPOSITORY/compare/v${{ steps.parse-release.outputs.release_version }}^1...v${{ steps.parse-release.outputs.release_version }}
118+
Compare: ${{ env.GITHUB_SERVER_URL }}/${{ env.GITHUB_REPOSITORY }}/compare/v${{ steps.parse-release.outputs.release_version }}^1...v${{ steps.parse-release.outputs.release_version }}
117119
118-
@adamiBs @yossigo @adobrzhansky @maxb-io @dagansandler @Peter-Sh
120+
${{ env.PR_USER_MENTIONS }}
119121
120122
- name: PR creation results
121123
run: |

0 commit comments

Comments
 (0)