Skip to content

feat: Add autodiscover mode #1

feat: Add autodiscover mode

feat: Add autodiscover mode #1

Triggered via pull request November 2, 2023 17:01
@jskrilljskrill
opened #2
Status Failure
Total duration 16s
Artifacts

pr-lint.yml

on: pull_request_target
Validate PR title
4s
Validate PR title
Fit to window
Zoom out
Zoom in

Annotations

10 errors
Validate PR title
No release type found in pull request title "Add config discover missing". Add a prefix to indicate what kind of release this pull request corresponds to. For reference, see https://www.conventionalcommits.org/ Available types: - feat: A new feature - fix: A bug fix - docs: Documentation only changes - style: Changes that do not affect the meaning of the code (white-space, formatting, missing semi-colons, etc) - refactor: A code change that neither fixes a bug nor adds a feature - perf: A code change that improves performance - test: Adding missing tests or correcting existing tests - build: Changes that affect the build system or external dependencies (example scopes: gulp, broccoli, npm) - ci: Changes to our CI configuration files and scripts (example scopes: Travis, Circle, BrowserStack, SauceLabs) - chore: Other changes that don't modify src or test files - revert: Reverts a previous commit
[golangci-lint] server/core/config/raw/global_cfg.go#L216: server/core/config/raw/global_cfg.go#L216
var-declaration: should omit type *AutoDiscover from declaration of var autoDiscover; it will be inferred from the right-hand side (revive)
[golangci-lint] server/core/config/raw/global_cfg.go#L328: server/core/config/raw/global_cfg.go#L328
var-declaration: should drop = nil from declaration of var autoDiscover; it is the zero value (revive)
[golangci-lint] server/core/config/raw/repo_cfg.go#L75: server/core/config/raw/repo_cfg.go#L75
var-declaration: should drop = nil from declaration of var autoDiscover; it is the zero value (revive)
[golangci-lint] server/core/config/raw/autodiscover_test.go#L13: server/core/config/raw/autodiscover_test.go#L13
var-naming: don't use underscores in Go names; var auto_discover_enabled should be autoDiscoverEnabled (revive)
[golangci-lint] server/core/config/raw/autodiscover_test.go#L48: server/core/config/raw/autodiscover_test.go#L48
var-naming: don't use underscores in Go names; var auto_discover_auto should be autoDiscoverAuto (revive)
[golangci-lint] server/core/config/raw/autodiscover_test.go#L49: server/core/config/raw/autodiscover_test.go#L49
var-naming: don't use underscores in Go names; var auto_discover_enabled should be autoDiscoverEnabled (revive)
[golangci-lint] server/core/config/raw/autodiscover_test.go#L50: server/core/config/raw/autodiscover_test.go#L50
var-naming: don't use underscores in Go names; var auto_discover_disabled should be autoDiscoverDisabled (revive)
[golangci-lint] server/core/config/raw/autodiscover_test.go#L51: server/core/config/raw/autodiscover_test.go#L51
var-naming: don't use underscores in Go names; var random_string should be randomString (revive)
[golangci-lint] server/core/config/raw/autodiscover_test.go#L103: server/core/config/raw/autodiscover_test.go#L103
var-naming: don't use underscores in Go names; var auto_discover_enabled should be autoDiscoverEnabled (revive)