Skip to content

Commit

Permalink
Added blueprint as label
Browse files Browse the repository at this point in the history
  • Loading branch information
matan84 committed May 19, 2024
1 parent 8efc57f commit 5e31ba3
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion core/github_handler.py
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@ def issue_handler(self):
if not self.entities:
logger.info("No entities found, looking for left over open issues")
issue_search_result = Github().search_issue_by_labels(
["Port", self.scorecard.get("title", "")],
["Port", self.scorecard.get("title", ""), settings.blueprint],
settings.github_repository,
state="open",
)
Expand Down
2 changes: 1 addition & 1 deletion generators/github.py
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,7 @@ def generate_issue(
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)})"
"\n# Sub-Tasks"
"\n" + "\n".join(tasks) + "\n",
"labels": ["Port", scorecard_title, level, entity["identifier"]],
"labels": ["Port", scorecard_title, level, blueprint, entity["identifier"]],
}

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

0 comments on commit 5e31ba3

Please sign in to comment.