From d3ed81f17b2aef17012b7fbe27dd261e10616e6c Mon Sep 17 00:00:00 2001 From: andrea avanzi Date: Wed, 16 Jul 2025 15:53:02 +0200 Subject: [PATCH] feat: add url for clipboard --- dist/index.js | 22 +++++++++++++++++++++- src/teams.js | 25 +++++++++++++++++++++++-- 2 files changed, 44 insertions(+), 3 deletions(-) diff --git a/dist/index.js b/dist/index.js index f1af7a7..9c8677e 100644 --- a/dist/index.js +++ b/dist/index.js @@ -29346,7 +29346,27 @@ function createCard({ name, status, owner, repo, eventName, ref, actor, workflow ] } ] - }] + }, + { + "type": "ColumnSet", + "columns": [ + { + "type": "Column", + "width": "stretch", + "items": [ + { + "type": "TextBlock", + "text": `${artifactUrl}`, + "wrap": true, + "size": "Small", + "isSubtle": true + } + ] + } + ] + } + + ] }, { "type": "Container", diff --git a/src/teams.js b/src/teams.js index f74650c..05a81af 100644 --- a/src/teams.js +++ b/src/teams.js @@ -180,7 +180,8 @@ function createCard({ name, status, owner, repo, eventName, ref, actor, workflow "id": "subtitle", "text": `${owner}/${repo} #${runNumber}`, "spacing": "None", - "isSubtle": true + "isSubtle": true, + "size": "Small" } ] } @@ -432,7 +433,27 @@ function createCard({ name, status, owner, repo, eventName, ref, actor, workflow ] } ] - }] + }, + { + "type": "ColumnSet", + "columns": [ + { + "type": "Column", + "width": "stretch", + "items": [ + { + "type": "TextBlock", + "text": `${artifactUrl}`, + "wrap": true, + "size": "Small", + "isSubtle": true + } + ] + } + ] + } + + ] }, { "type": "Container",