Skip to content

Commit 02b31c4

Browse files
authored
Merge pull request #38 from coderdojo-japan/decorate-slack-detail-link
Slack 通知のリンク文言を » 詳細を見る (GitHub) に変更
2 parents a3c821a + 8a7b8be commit 02b31c4

2 files changed

Lines changed: 4 additions & 4 deletions

File tree

.github/workflows/scheduler_daily.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -119,13 +119,13 @@ jobs:
119119
# For posting a simple plain text message
120120
payload: |
121121
{
122-
"text": "<@yasulab> Failed to build DojoMap. (詳細を見る)",
122+
"text": "<@yasulab> Failed to build DojoMap. » 詳細を見る (GitHub)",
123123
"blocks": [
124124
{
125125
"type": "section",
126126
"text": {
127127
"type": "mrkdwn",
128-
"text": "<@yasulab> Failed to build DojoMap. (<https://github.com/${{ github.repository }}/actions/runs/${{ github.run_id }}|詳細を見る>)"
128+
"text": "<@yasulab> Failed to build DojoMap. <https://github.com/${{ github.repository }}/actions/runs/${{ github.run_id }}|» 詳細を見る (GitHub)>"
129129
}
130130
}
131131
]

.github/workflows/test_slack_notification.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -27,13 +27,13 @@ jobs:
2727
# scheduler_daily.yml と同じ形式のペイロード(文面のみテスト用)
2828
payload: |
2929
{
30-
"text": "`[TEST]` DojoMap の Slack 通知テストです。(詳細を見る)",
30+
"text": "`[TEST]` DojoMap の Slack 通知テストです。» 詳細を見る (GitHub)",
3131
"blocks": [
3232
{
3333
"type": "section",
3434
"text": {
3535
"type": "mrkdwn",
36-
"text": "`[TEST]` DojoMap の Slack 通知テストです。(<https://github.com/${{ github.repository }}/actions/runs/${{ github.run_id }}|詳細を見る>)"
36+
"text": "`[TEST]` DojoMap の Slack 通知テストです。<https://github.com/${{ github.repository }}/actions/runs/${{ github.run_id }}|» 詳細を見る (GitHub)>"
3737
}
3838
}
3939
]

0 commit comments

Comments
 (0)