Hi! I’m working on a PR for addressing issue #13555 but I’m running into linter problems - depguard is running amok. Could someone give me pointers on how to resolve?
▶ make lint
golangci-lint run --config ../../.golangci.yml
resources/services/actions/workflows.go:8:2: import 'github.com/cloudquery/cloudquery/plugins/source/github/client' is not allowed from list 'Main' (depguard)
"github.com/cloudquery/cloudquery/plugins/source/github/client"
^
resources/services/actions/workflows.go:9:2: import 'github.com/cloudquery/plugin-sdk/schema' is not allowed from list 'Main' (depguard)
"github.com/cloudquery/plugin-sdk/schema"
^
resources/services/actions/workflows.go:10:2: import 'github.com/cloudquery/plugin-sdk/transformers' is not allowed from list 'Main' (depguard)
"github.com/cloudquery/plugin-sdk/transformers"
^
resources/services/actions/workflows.go:11:2: import 'github.com/google/go-github/v48/github' is not allowed from list 'Main' (depguard)
"github.com/google/go-github/v48/github"
Might be something in my local environment. I’ll issue a PR to see what the CI checks say. It’s in this pull request and you can see the CI checks here.
I checked it out now, and it seems like when you add the err declaration, it fixes the issue. I pushed a commit to your branch to confirm that it’s also fixed in CI.