Skip to content

Commit

Permalink
Merge pull request #592 from camptocamp/fix-workflow-date
Browse files Browse the repository at this point in the history
Workflow: Fix update date
  • Loading branch information
sbrunner authored Nov 2, 2024
2 parents 3bd0fe5 + ff81d49 commit 3f24759
Showing 1 changed file with 2 additions and 3 deletions.
5 changes: 2 additions & 3 deletions github_app_geo_project/module/workflow/__init__.py
Original file line number Diff line number Diff line change
Expand Up @@ -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]
Expand Down

0 comments on commit 3f24759

Please sign in to comment.