upsidr / merge-gatekeeper

Get better merge control
MIT License
85 stars 14 forks source link

merge gatekeeper failed when pr is opened #66

Open omer2500 opened 1 year ago

omer2500 commented 1 year ago

Hi,

I'm using merge gatekeeper as a required workflow for all repos

sometimes when i open a pr the merge gatekeeper already failed, when no job actually failed or even started to run

it happens in 60% of the time my workaround is to commit an empty commit and then everything works as expected

what the issue could be? maybe some kind of race?

rytswd commented 1 year ago

Hi @omer2500, thanks for the report! We haven't seen that much failure internally, but it may be related to the failure with GitHub API calls, reported in #64. Do you have some public repo we can check, or some logs you can share with us?

omer2500 commented 1 year ago

Hi @rytswd thanks for your answer i checked the issue you talked about, could be it

right now i added workaround with sleep of 10 seconds before merge keeper starts to work and i will monitor if it worked