server icon indicating copy to clipboard operation
server copied to clipboard

enhance(scm/webhook): handle default branch change and archived repo

Open ecrupper opened this issue 3 years ago • 1 comments

Closes https://github.com/go-vela/community/issues/325

Closes https://github.com/go-vela/community/issues/659

Building off the work done in https://github.com/go-vela/server/pull/556, using repository events can help maintain parity between GitHub repos and their Vela equivalent.

ecrupper avatar Sep 28 '22 20:09 ecrupper

Codecov Report

Merging #706 (af8988b) into main (9aa91f7) will decrease coverage by 0.13%. The diff coverage is 1.92%.

Impacted file tree graph

@@            Coverage Diff             @@
##             main     #706      +/-   ##
==========================================
- Coverage   54.79%   54.66%   -0.14%     
==========================================
  Files         216      216              
  Lines       16046    16086      +40     
==========================================
+ Hits         8793     8794       +1     
- Misses       6869     6908      +39     
  Partials      384      384              
Impacted Files Coverage Δ
api/webhook.go 0.00% <0.00%> (ø)
scm/github/webhook.go 86.10% <100.00%> (+0.03%) :arrow_up:

codecov[bot] avatar Sep 28 '22 20:09 codecov[bot]