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

fetch branch using git.fetch before trying to use it #1074

Closed KPostOffice closed 2 years ago

KPostOffice commented 2 years ago

call repo.git.fetch("origin", branch_name) before doing any operations on said branch. also contains a small change which ensures that the config init pr is only opened once.

Related Issues and Dependencies

fixes: https://github.com/thoth-station/support/issues/218 closes: https://github.com/thoth-station/kebechet/issues/1019

This introduces a breaking change

KPostOffice commented 2 years ago

/hold

KPostOffice commented 2 years ago

/unhold

sesheta commented 2 years ago

[APPROVALNOTIFIER] This PR is APPROVED

This pull-request has been approved by: harshad16

The full list of commands accepted by this bot can be found here.

The pull request process is described here

Needs approval from an approver in each of these files: - ~~[OWNERS](https://github.com/thoth-station/kebechet/blob/master/OWNERS)~~ [harshad16] Approvers can indicate their approval by writing `/approve` in a comment Approvers can cancel approval by writing `/approve cancel` in a comment