You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: docs/guides/all/self-heal-scorecards-with-ai.md
+11-11Lines changed: 11 additions & 11 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -8,7 +8,7 @@ description: Learn how to use Port's AI capabilities to detect scorecard degrada
8
8
Scorecards in Port help you evaluate the maturity, production readiness, and engineering quality of entities in your software catalog.
9
9
However, when scorecard statistics degrade, manual intervention is often required to identify and fix the issues.
10
10
11
-
This guide demonstrates how to create an AI-powered system that automatically detects scorecard degradation and trigger Github Copilot for automated code fixes.
11
+
This guide demonstrates how to create an AI-powered system that automatically detects service scorecard degradation and trigger Github Copilot for automated code fixes.
@@ -102,8 +102,8 @@ This blueprint will track tasks created by the AI agent for scorecard remediatio
102
102
"required": false,
103
103
"many": false
104
104
},
105
-
"repository": {
106
-
"target": "githubRepository",
105
+
"service": {
106
+
"target": "service",
107
107
"required": true,
108
108
"many": false
109
109
}
@@ -227,7 +227,7 @@ We will create self-service actions that the AI agent can use for scorecard reme
227
227
"labels"
228
228
]
229
229
},
230
-
"blueprintIdentifier": "githubRepository"
230
+
"blueprintIdentifier": "service"
231
231
},
232
232
"invocationMethod": {
233
233
"type": "WEBHOOK",
@@ -248,7 +248,7 @@ We will create self-service actions that the AI agent can use for scorecard reme
248
248
"source": "ai_agent"
249
249
},
250
250
"relations": {
251
-
"repository": "{{ .entity.identifier }}"
251
+
"service": "{{ .entity.identifier }}"
252
252
}
253
253
}
254
254
},
@@ -322,15 +322,15 @@ This automation continuously monitors scorecard statistics and triggers the AI a
322
322
323
323
```json showLineNumbers
324
324
{
325
-
"identifier": "repository_scorecard_update",
326
-
"title": "Repository Scorecard Update",
327
-
"description": "Trigger this automation when the scorecard associated with a repository is degraded",
328
-
"icon": "Github",
325
+
"identifier": "service_scorecard_update",
326
+
"title": "Service Scorecard Update",
327
+
"description": "Trigger this automation when the scorecard associated with a service is degraded",
328
+
"icon": "Service",
329
329
"trigger": {
330
330
"type": "automation",
331
331
"event": {
332
332
"type": "ENTITY_UPDATED",
333
-
"blueprintIdentifier": "githubRepository"
333
+
"blueprintIdentifier": "service"
334
334
},
335
335
"condition": {
336
336
"type": "JQ",
@@ -414,7 +414,7 @@ This automation bridges the gap between Port's AI agent analysis and GitHub's de
414
414
"body": "{{.event.diff.after.response.entity.properties.description}} *IMPORTANT NOTE FOR COPILOT*: When creating a pull request to fix this issue, you MUST ALWAYS include the Port Task Identifier in the PR description or body for tracking purposes. Here is the Port Task Identifier for this issue: {{ .event.diff.after.response.entity.identifier }}",
0 commit comments