-
Notifications
You must be signed in to change notification settings - Fork 1.4k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #7776 from mmorel-35/kind/changelog-not-required
split labels configurations add more prow commands
- Loading branch information
Showing
4 changed files
with
80 additions
and
38 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,33 @@ | ||
# This file is used by Auto Label PRs action. | ||
# 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 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/**/* | ||
Dependencies: | ||
- changed-files: | ||
- any-glob-to-any-file: go.mod | ||
Documentation: | ||
- changed-files: | ||
- any-glob-to-any-file: site/content/docs/**/* | ||
# 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/**/*' | ||
has-changelog: | ||
- changed-files: | ||
- any-glob-to-any-file: changelogs/** | ||
has-e2e-2tests: | ||
- changed-files: | ||
- any-glob-to-any-file: test/e2e/**/* | ||
has-unit-tests: | ||
- changed-files: | ||
- any-glob-to-any-file: pkg/**/*_test.go |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,34 +1,43 @@ | ||
# 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/** | ||
# This file is used by [prow github action](https://github.com/jpmcb/prow-github-actions/) in .github/workflows/prow-action.yml. | ||
# This file only has values for kind and area commands. | ||
area: | ||
- CLI | ||
- CSI | ||
- Cloud/AWS | ||
- Cloud/Azure | ||
- Cloud/DigitalOcean | ||
- Cloud/GCP | ||
- Cloud/vSphere | ||
- Design | ||
- Documentation | ||
- Filters | ||
- Plugins | ||
- Process | ||
- Storage/Minio | ||
- Storage/Cinder | ||
- WindowsSupport | ||
- datamover | ||
- fs-backup | ||
- fs-backup/deletion | ||
- fs-backup/file-selectable | ||
- fs-uploader | ||
- kopia-integration | ||
- migration | ||
- multi-tenancy | ||
- progress-monitoring | ||
- resilience | ||
- schedule | ||
- storage/IBM-ObjectStorage | ||
- upgrade | ||
- volume-snapshot-dm | ||
kind: | ||
- 'changelog-not-required' | ||
- changelog-not-required | ||
- question | ||
- refactor | ||
- requirement | ||
- release-note | ||
- release-blocker | ||
- spike | ||
- tech-debt | ||
- usage-error | ||
- voting |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -11,10 +11,10 @@ jobs: | |
steps: | ||
- uses: jpmcb/[email protected] | ||
with: | ||
# Only support /kind command for now. | ||
# TODO: before allowing the /lgtm command, see if we can block merging if changelog labels are missing. | ||
prow-commands: "/area | ||
/kind | ||
prow-commands: | | ||
/area | ||
/cc | ||
/uncc" | ||
/kind | ||
/uncc | ||
github-token: "${{ secrets.GITHUB_TOKEN }}" |