(feat) add issue count to adaptive card

This commit is contained in:
TP Honey
2022-02-03 12:14:24 +00:00
parent 23e0e1d500
commit d9ad331e39
9 changed files with 58 additions and 122 deletions
+12 -3
View File
@@ -10,7 +10,7 @@
{
"type": "Image",
"url": "https://www.kindpng.com/picc/m/356-3561262_free-download-png-and-vector-icon-logo-git.png",
"size": "Small"
"size": "small"
}
],
"width": "auto"
@@ -22,9 +22,18 @@
"type": "TextBlock",
"text": "Plugin: Gitleaks",
"wrap": true,
"size": "Small",
"weight": "Bolder",
"size": "small",
"weight": "bolder",
"isSubtle": false,
"spacing": "small"
},
{
"type": "TextBlock",
"text": "Number of Issues: ${NumIssues}",
"wrap": true,
"size": "Small",
"weight": "Lighter",
"isSubtle": true,
"spacing": "Small"
}
],
+1
View File
@@ -1,4 +1,5 @@
{
"NumIssues":1,
"Issues": [{
"line": "*****",
"lineNumber": 12,