Merge pull request #7769 from mmorel-35/kind/changelog-not-required

fix `/kind changelog-not-required`
This commit is contained in:
Xun Jiang/Bruce Jiang
2024-05-07 11:10:22 +08:00
committed by GitHub
3 changed files with 35 additions and 40 deletions
+34
View File
@@ -0,0 +1,34 @@
# 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:
- changed-files:
- any-glob-to-any-file: design/*
# Anything in the site directory gets the website label *EXCEPT* docs
Website:
- all:
- changed-files:
- any-glob-to-any-file: site/**/*
- all-globs-to-all-files: '!site/content/docs/**/*'
Documentation:
- changed-files:
- any-glob-to-any-file: site/content/docs/**/*
Dependencies:
- 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:
- changed-files:
- any-glob-to-any-file: pkg/plugins/**/*
has-unit-tests:
- changed-files:
- any-glob-to-any-file: pkg/**/*_test.go
has-e2e-2tests:
- changed-files:
- any-glob-to-any-file: test/e2e/**/*
has-changelog:
- changed-files:
- any-glob-to-any-file: changelogs/**
kind:
- 'changelog-not-required'
-39
View File
@@ -1,39 +0,0 @@
# 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:
- changed-files:
- any-glob-to-any-file: 'design/*'
# Anything in the site directory gets the website label *EXCEPT* docs
Website:
- all:
- changed-files:
- any-glob-to-any-file: 'site/**/*'
- all-globs-to-all-files: '!site/content/docs/**/*'
Documentation:
- changed-files:
- any-glob-to-any-file: 'site/content/docs/**/*'
Dependencies:
- 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:
- changed-files:
- any-glob-to-any-file: 'pkg/plugins/**/*'
has-unit-tests:
- changed-files:
- any-glob-to-any-file: 'pkg/**/*_test.go'
has-e2e-2tests:
- changed-files:
- any-glob-to-any-file: 'test/e2e/**/*'
has-changelog:
- changed-files:
- any-glob-to-any-file: 'changelogs/**'
+1 -1
View File
@@ -16,4 +16,4 @@ jobs:
- uses: actions/labeler@v5
with:
repo-token: "${{ secrets.GITHUB_TOKEN }}"
configuration-path: .github/labels.yml
configuration-path: .github/labels.yaml