Skip to content

Commit

Permalink
fix(types): correct actions pkg for repo events (#1103)
Browse files Browse the repository at this point in the history
  • Loading branch information
ecrupper authored Apr 11, 2024
1 parent ed4ab24 commit 1324474
Show file tree
Hide file tree
Showing 4 changed files with 4 additions and 4 deletions.
2 changes: 1 addition & 1 deletion api/repo/create.go
Original file line number Diff line number Diff line change
Expand Up @@ -10,13 +10,13 @@ import (

"github.com/gin-gonic/gin"
"github.com/go-vela/server/api/types"
"github.com/go-vela/server/api/types/actions"
"github.com/go-vela/server/database"
"github.com/go-vela/server/router/middleware/user"
"github.com/go-vela/server/scm"
"github.com/go-vela/server/util"
"github.com/go-vela/types/constants"
"github.com/go-vela/types/library"
"github.com/go-vela/types/library/actions"
"github.com/google/uuid"
"github.com/sirupsen/logrus"
)
Expand Down
2 changes: 1 addition & 1 deletion api/types/events.go
Original file line number Diff line number Diff line change
Expand Up @@ -5,8 +5,8 @@ package types
import (
"fmt"

"github.com/go-vela/server/api/types/actions"
"github.com/go-vela/types/constants"
"github.com/go-vela/types/library/actions"
)

// Events is the library representation of the various events that generate a
Expand Down
2 changes: 1 addition & 1 deletion api/types/events_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -6,8 +6,8 @@ import (
"reflect"
"testing"

"github.com/go-vela/server/api/types/actions"
"github.com/go-vela/types/constants"
"github.com/go-vela/types/library/actions"
"github.com/google/go-cmp/cmp"
)

Expand Down
2 changes: 1 addition & 1 deletion database/repo/repo_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -9,8 +9,8 @@ import (

"github.com/DATA-DOG/go-sqlmock"
api "github.com/go-vela/server/api/types"
"github.com/go-vela/server/api/types/actions"
"github.com/go-vela/types/library"
"github.com/go-vela/types/library/actions"
"github.com/sirupsen/logrus"

"gorm.io/driver/postgres"
Expand Down

0 comments on commit 1324474

Please sign in to comment.