mirror of
https://github.com/woodpecker-ci/woodpecker.git
synced 2024-11-24 08:02:18 +02:00
It's okay
This commit is contained in:
parent
8cec8ed0d5
commit
21d6552b4b
@ -267,14 +267,6 @@ func PostApproval(c *gin.Context) {
|
||||
build.Reviewed = time.Now().Unix()
|
||||
build.Reviewer = user.Login
|
||||
|
||||
//
|
||||
//
|
||||
// This code is copied pasted until I have a chance
|
||||
// to refactor into a proper function. Lots of changes
|
||||
// and technical debt. No judgement please!
|
||||
//
|
||||
//
|
||||
|
||||
// fetch the build file from the database
|
||||
conf, err := Config.Storage.Config.ConfigLoad(build.ConfigID)
|
||||
if err != nil {
|
||||
|
@ -39,13 +39,6 @@ import (
|
||||
"github.com/laszlocph/drone-oss-08/cncd/queue"
|
||||
)
|
||||
|
||||
//
|
||||
// CANARY IMPLEMENTATION
|
||||
//
|
||||
// This file is a complete disaster because I'm trying to wedge in some
|
||||
// experimental code. Please pardon our appearance during renovations.
|
||||
//
|
||||
|
||||
var skipRe = regexp.MustCompile(`\[(?i:ci *skip|skip *ci)\]`)
|
||||
|
||||
func init() {
|
||||
|
Loading…
Reference in New Issue
Block a user