thoth-station / kebechet

I'm Kebechet bot, goddess of freshness - I will keep your source code fresh and up-to-date
24 stars 20 forks source link

For 'Kebechet Adviser', kebechet-cli run-results cli is not committing the updated Piplock file #1094

Closed shreekarSS closed 2 years ago

shreekarSS commented 2 years ago

Bug description

After creating 'Kebechet Adviser' issue on repos which needs thamos advise, kebechet-cli run-results was supplied with incorrect updated piplock file path, recorded in https://github.com/thoth-station/support/issues/254

Steps to Reproduce

Steps to reproduce the behavior:

  1. Run kebechet-cli run-url, advise will run ,wait for cli to finish
  2. Run kebechet-cli run-results, FileNotFoundError: [Errno 2] No such file or directory: 'Pipfile.lock' https://github.com/thoth-station/kebechet/blob/master/kebechet/managers/thoth_advise/thoth_advise.py#L392

Actual behavior

FileNotFoundError: [Errno 2] No such file or directory: 'Pipfile.lock'

Expected behavior

Updated piplock file should get committed and pushed