Skip to content

Commit

Permalink
fix: add admin_team to context
Browse files Browse the repository at this point in the history
  • Loading branch information
netomi committed Mar 1, 2024
1 parent c1ef4d4 commit 8adde7d
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions otterdog/webapp/tasks/apply_changes.py
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down Expand Up @@ -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(
Expand Down

0 comments on commit 8adde7d

Please sign in to comment.