Skip to content

Commit

Permalink
Merge pull request #9 from Neves-P/feature/disk_cleanup
Browse files Browse the repository at this point in the history
Fix bug in getting repository name
  • Loading branch information
Neves-Bot authored Jun 12, 2024
2 parents 1f2000b + 4160bd1 commit 744e29e
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion eessi_bot_event_handler.py
Original file line number Diff line number Diff line change
Expand Up @@ -638,7 +638,7 @@ def handle_pull_request_closed_event(self, event_info, pr):
# 2) Get trash_bin_dir from configs
trash_bin_root_dir = self.cfg[config.SECTION_MERGED_PR][config.MERGED_PR_SETTING_TRASH_BIN_ROOT_DIR]

repo_name = event_info['repository']['full_name']
repo_name = request_body['repository']['full_name']
dt = datetime.now(timezone.utc)
trash_bin_dir = "/".join([trash_bin_root_dir, repo_name, dt.strftime('%Y%m%d')])

Expand Down

0 comments on commit 744e29e

Please sign in to comment.