go-sigma / sigma

OCI-Native artifact manager
https://docs.sigma.tosone.cn
Apache License 2.0
114 stars 9 forks source link

:sparkles: Support webhook #303

Closed tosone closed 4 months ago

tosone commented 4 months ago

Support webhook:

codecov[bot] commented 4 months ago

Codecov Report

Attention: 530 lines in your changes are missing coverage. Please review.

Comparison is base (c877655) 21.33% compared to head (8a8e7ea) 21.68%.

Files Patch % Lines
pkg/handlers/webhooks/webhooks_ping.go 0.00% 76 Missing :warning:
pkg/handlers/webhooks/webhooks_log_resend.go 0.00% 75 Missing :warning:
pkg/handlers/webhooks/webhooks_log_delete.go 0.00% 71 Missing :warning:
pkg/daemon/webhook/webhook.go 0.00% 42 Missing :warning:
pkg/handlers/webhooks/webhooks_log_list.go 0.00% 38 Missing :warning:
pkg/daemon/webhook/helper.go 0.00% 36 Missing :warning:
pkg/handlers/webhooks/webhooks_log_get.go 0.00% 34 Missing :warning:
pkg/handlers/webhooks/webhooks_get.go 0.00% 30 Missing :warning:
pkg/handlers/webhooks/webhooks_post.go 0.00% 30 Missing :warning:
pkg/handlers/webhooks/webhooks_list.go 0.00% 29 Missing :warning:
... and 11 more
Additional details and impacted files ```diff @@ Coverage Diff @@ ## main #303 +/- ## ========================================== + Coverage 21.33% 21.68% +0.35% ========================================== Files 287 287 Lines 18863 18991 +128 ========================================== + Hits 4025 4119 +94 - Misses 14429 14496 +67 + Partials 409 376 -33 ``` | [Flag](https://app.codecov.io/gh/go-sigma/sigma/pull/303/flags?src=pr&el=flags&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=go-sigma) | Coverage Δ | | |---|---|---| | [unit-test-mysql](https://app.codecov.io/gh/go-sigma/sigma/pull/303/flags?src=pr&el=flag&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=go-sigma) | `21.68% <4.15%> (+0.35%)` | :arrow_up: | | [unit-test-postgresql](https://app.codecov.io/gh/go-sigma/sigma/pull/303/flags?src=pr&el=flag&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=go-sigma) | `21.68% <4.15%> (+0.35%)` | :arrow_up: | | [unit-test-sqlite3](https://app.codecov.io/gh/go-sigma/sigma/pull/303/flags?src=pr&el=flag&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=go-sigma) | `21.68% <4.15%> (+0.35%)` | :arrow_up: | Flags with carried forward coverage won't be shown. [Click here](https://docs.codecov.io/docs/carryforward-flags?utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=go-sigma#carryforward-flags-in-the-pull-request-comment) to find out more.

:umbrella: View full report in Codecov by Sentry.
:loudspeaker: Have feedback on the report? Share it here.