diff --git a/github_app_geo_project/module/workflow/__init__.py b/github_app_geo_project/module/workflow/__init__.py index 93199fa68a..251c36ae4e 100644 --- a/github_app_geo_project/module/workflow/__init__.py +++ b/github_app_geo_project/module/workflow/__init__.py @@ -52,12 +52,11 @@ async def process( self, context: module.ProcessContext[None, dict[str, Any], dict[str, Any]] ) -> module.ProcessOutput[dict[str, Any], dict[str, Any]]: full_repo = f"{context.github_project.owner}/{context.github_project.repository}" - repo_data = context.transversal_status.setdefault( - context.github_project.owner + "/" + context.github_project.repository, {} - ) module_utils.manage_updated(context.transversal_status, full_repo, days_old=30) + repo_data = context.transversal_status[full_repo] + repo = context.github_project.github.get_repo(full_repo) stabilization_branches = [repo.default_branch]