• Home
  • Features
  • Pricing
  • Docs
  • Announcements
  • Sign In

mindersec / minder / 11329856830

14 Oct 2024 02:42PM UTC coverage: 53.437% (+0.002%) from 53.435%
11329856830

push

github

web-flow
Add eval details for rego constraints. (#4730)

This PR makes `rego/constraints` evaluation engine uniform with the
rest of the rules using templates for evaluation details failures.

Fixes stacklok/minder-stories#43

8 of 8 new or added lines in 1 file covered. (100.0%)

127 existing lines in 5 files now uncovered.

14639 of 27395 relevant lines covered (53.44%)

41.09 hits per line

Source File
Press 'n' to go to next uncovered line, 'b' for previous

0.0
/internal/providers/github/manager/webhook.go
1
// Copyright 2024 Stacklok, Inc.
2
//
3
// Licensed under the Apache License, Version 2.0 (the "License");
4
// you may not use this file except in compliance with the License.
5
// You may obtain a copy of the License at
6
//
7
//     http://www.apache.org/licenses/LICENSE-2.0
8
//
9
// Unless required by applicable law or agreed to in writing, software
10
// distributed under the License is distributed on an "AS IS" BASIS,
11
// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
12
// See the License for the specific language governing permissions and
13
// limitations under the License.
14

15
// Package manager contains the GitHubProviderClassManager
16
package manager
17

18
import (
19
        "net/http"
20

21
        "github.com/mindersec/minder/internal/providers/github/webhook"
22
)
23

24
// GetWebhookHandler implements the ProviderManager interface
25
// Note that this is where the whole webhook handler is defined and
26
// will live.
UNCOV
27
func (mgr *githubProviderManager) GetWebhookHandler() http.Handler {
×
UNCOV
28
        return webhook.HandleWebhookEvent(mgr.mt, mgr.publisher, mgr.whconfig)
×
UNCOV
29
}
×
STATUS · Troubleshooting · Open an Issue · Sales · Support · CAREERS · ENTERPRISE · START FREE · SCHEDULE DEMO
ANNOUNCEMENTS · TWITTER · TOS & SLA · Supported CI Services · What's a CI service? · Automated Testing

© 2026 Coveralls, Inc