From 8adde7d5be661773c2105ed24d3058d0700e8f17 Mon Sep 17 00:00:00 2001 From: Thomas Neidhart Date: Fri, 1 Mar 2024 11:58:41 +0100 Subject: [PATCH] fix: add admin_team to context --- otterdog/webapp/tasks/apply_changes.py | 2 ++ 1 file changed, 2 insertions(+) diff --git a/otterdog/webapp/tasks/apply_changes.py b/otterdog/webapp/tasks/apply_changes.py index f705d621..3ba58ea1 100644 --- a/otterdog/webapp/tasks/apply_changes.py +++ b/otterdog/webapp/tasks/apply_changes.py @@ -19,6 +19,7 @@ from otterdog.webapp.utils import ( escape_for_github, fetch_config_from_github, + get_admin_team, get_otterdog_config, ) from otterdog.webapp.webhook.github_models import PullRequest, Repository @@ -139,6 +140,7 @@ async def _execute(self) -> ApplyResult: output=escape_for_github(apply_result.apply_output), success=apply_result.apply_success, partial=apply_result.partial, + admin_team=f"{self.org_id}/{get_admin_team()}", ) await rest_api.issue.create_comment(