[x] Other (please explain): React to a potential change in github api response.
What changes did you make? (Give a brief overview)
Change the desired hook config used to match against existing hooks to not include the secret property if its value is undefined.
Without this change, the _.isMatch function is not able to find a match in the existing pipelines, and attempts to create the webhook again, resulting in an api error.
The error returned by the resource before this changes looked like the following:
What is the purpose of this pull request?
What changes did you make? (Give a brief overview) Change the desired hook config used to match against existing hooks to not include the secret property if its value is undefined.
Without this change, the _.isMatch function is not able to find a match in the existing pipelines, and attempts to create the webhook again, resulting in an api error.
The error returned by the resource before this changes looked like the following:
Is there anything specific you would like reviewers to focus on? No