diff --git a/.github/labels.yml b/.github/labels.yml index 4471bc0299..9dcaf0d00b 100644 --- a/.github/labels.yml +++ b/.github/labels.yml @@ -1,41 +1,39 @@ -area: - - "Cloud/AWS" - - "Cloud/GCP" - - "Cloud/Azure" - - "Design" - - "Plugins" - -# Labels that can be applied to PRs with the /kind command -kind: - - "changelog-not-required" - - "tech-debt" - # Works with https://github.com/actions/labeler/ # Below this line, the keys are labels to be applied, and the values are the file globs to match against. # Anything in the `design` directory gets the `Design` label. Area/Design: - - design/* +- changed-files: + - any-glob-to-any-file: 'design/*' # Anything in the site directory gets the website label *EXCEPT* docs Website: - - any: ["site/**/*", "!site/content/docs/**/*"] +- any: + - changed-files: + - any-glob-to-any-file: 'site/**/*' + - any-glob-to-any-file: '!site/content/docs/**/*' Documentation: - - site/content/docs/**/* +- changed-files: + - any-glob-to-any-file: 'site/content/docs/**/*' Dependencies: - - go.mod +- changed-files: + - any-glob-to-any-file: 'go.mod' # Anything that has plugin infra will be labeled. # Individual plugins don't necessarily live here, though Area/Plugins: - - "pkg/plugins/**/*" +- changed-files: + - any-glob-to-any-file: 'pkg/plugins/**/*' has-unit-tests: - - "pkg/**/*_test.go" +- changed-files: + - any-glob-to-any-file: 'pkg/**/*_test.go' has-e2e-2tests: - - "test/e2e/**/*" +- changed-files: + - any-glob-to-any-file: 'test/e2e/**/*' has-changelog: - - "changelogs/**" +- changed-files: + - any-glob-to-any-file: 'changelogs/**'