Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

fix(scm): correct init hook status and send accurate events #825

Merged
merged 1 commit into from
Apr 21, 2023

Conversation

ecrupper
Copy link
Contributor

Noticed that init webhooks were set to a failed status.

Also saw that when we already have a record of a repo and are in the process of re-enabling it, we should make sure the events specified for that record match what we send the SCM, rather than the default events.

@ecrupper ecrupper requested a review from a team as a code owner April 21, 2023 17:26
@ecrupper ecrupper self-assigned this Apr 21, 2023
Copy link
Contributor

@KellyMerrick KellyMerrick left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

lgtm

@codecov
Copy link

codecov bot commented Apr 21, 2023

Codecov Report

Merging #825 (baeb26e) into main (519876b) will increase coverage by 0.00%.
The diff coverage is 100.00%.

Impacted file tree graph

@@           Coverage Diff           @@
##             main     #825   +/-   ##
=======================================
  Coverage   57.73%   57.73%           
=======================================
  Files         263      263           
  Lines       15914    15915    +1     
=======================================
+ Hits         9188     9189    +1     
  Misses       6311     6311           
  Partials      415      415           
Impacted Files Coverage Δ
scm/github/repo.go 76.48% <100.00%> (+0.05%) ⬆️

@ecrupper ecrupper merged commit 0410ae0 into main Apr 21, 2023
@ecrupper ecrupper deleted the fix-default-events-reenable branch April 21, 2023 17:32
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants