diff --git a/.github/workflows/security.yml b/.github/workflows/security.yml index b56ddad9142..f256d8751af 100644 --- a/.github/workflows/security.yml +++ b/.github/workflows/security.yml @@ -5,6 +5,8 @@ on: branches: [master] pull_request: branches: [master] + paths: + - go.mod jobs: build: diff --git a/endpoints/openrtb2/auction.go b/endpoints/openrtb2/auction.go index f8c4aecdd82..9cdaab57068 100644 --- a/endpoints/openrtb2/auction.go +++ b/endpoints/openrtb2/auction.go @@ -1641,6 +1641,8 @@ func validateOrFillChannel(reqWrapper *openrtb_ext.RequestWrapper, isAmp bool) e if err != nil { return err } + + requestPrebid := requestExt.GetPrebid() if requestPrebid == nil || requestPrebid.Channel == nil {