Closed angelbarrera92 closed 2 years ago
@alexellis Hello! 👋
I would like to contribute to this issue. The webhook payload actually should contain the repository's default branch, so that should be easy enough to work with.
Anything you want me to consider, or does that all sound alright with you?
Hi @jolheiser
What approach do you think would make sense?
If this can be done without using up API calls, I'd be interested in a draft PR for discussion.
Alex
This was resolved by #174
Thanks again @cpanato @alexellis !
Derek close: Fixed in #174
Expected Behaviour
I expect derek to look for its configuration file on the default branch of the repository instead of
master
. GitHub changed its default branch frommaster
tomain
, it is difficult to debug this issue if you don't run derek self-hosted.Current Behaviour
derek looks for the
.DEREK.yml
file in the root of the project in themaster
branch.Possible Solution
Identify what is the default branch of the repository, then look for the configuration file on that branch.
Steps to Reproduce (for bugs)
Context
During some derek modifications, I found this issue. Thanks that I self-hosted it I was able to find the misconfiguration in my repository.
Your Environment
or