Skip to content

Commit 074bdf8

Browse files
committed
fix(discord-github-notify): 修正仓库地址字段的Markdown格式
移除仓库地址字段值中多余的方括号,避免在Discord消息中显示重复的链接格式。
1 parent 6aeef38 commit 074bdf8

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

actions/discord-github-notify/action.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -51,7 +51,7 @@ runs:
5151
\"color\": 3447003,
5252
\"url\": \"$REPO_URL\",
5353
\"fields\": [
54-
{\"name\": \"📦 仓库地址\", \"value\": \"[$REPO_URL]($REPO_URL)\", \"inline\": false},
54+
{\"name\": \"📦 仓库地址\", \"value\": \"$REPO_URL\", \"inline\": false},
5555
{\"name\": \"🌿 分支\", \"value\": \"${{ github.ref_name }}\", \"inline\": true},
5656
{\"name\": \"👤 提交者\", \"value\": \"${{ github.actor }}\", \"inline\": true},
5757
{\"name\": \"💬 提交信息\", \"value\": \"$COMMIT_MSG\", \"inline\": false},

0 commit comments

Comments
 (0)