Skip to content

Commit d7205e9

Browse files
authored
Merge pull request #33 from port-labs/fixes-to-github-issues-sync
Fix - Scorecard label for GitHub issue sync to be set from the scorecard identifier
2 parents fe0d78b + b7e9707 commit d7205e9

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

generators/github.py

+1-1
Original file line numberDiff line numberDiff line change
@@ -22,7 +22,7 @@ def generate_issue(
2222
f"\n> :bulb: **Tip:** Scorecards are a way for you and your team to define and track standards, metrics, and KPIs in different categories such as production readiness, quality, productivity, and more. For more information about your scorecards, go to [Port]({get_port_url(settings.port_region)})"
2323
"\n# Sub-Tasks"
2424
"\n" + "\n".join(tasks) + "\n",
25-
"labels": ["Port", scorecard_title, level, blueprint, entity["identifier"]],
25+
"labels": ["Port", scorecard.get("identifier",""), level, blueprint, entity["identifier"]],
2626
}
2727

2828
def generate_task(self, rule: dict[str, Any]):

0 commit comments

Comments
 (0)