Unify labels across GitHub Actions

The prow-action plugin will pre-pend `area` or `kind` to labels, so
unify them into a common format.

Signed-off-by: Nolan Brubaker <brubakern@vmware.com>
This commit is contained in:
Nolan Brubaker
2021-02-09 14:00:23 -05:00
parent 2a234a75bb
commit 4c01494abc
2 changed files with 5 additions and 4 deletions
+4 -3
View File
@@ -2,17 +2,18 @@ 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"
- "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.
Design:
Area/Design:
- design/*
# Anything in the site directory gets the website label *EXCEPT* docs
@@ -27,7 +28,7 @@ Dependencies:
# Anything that has plugin infra will be labeled.
# Individual plugins don't necessarily live here, though
Plugins:
Area/Plugins:
- "pkg/plugins/**/*"
has-unit-tests:
+1 -1
View File
@@ -11,5 +11,5 @@ jobs:
uses: actions/checkout@v2
- name: Changelog check
if: ${{ !(contains(github.event.pull_request.labels.*.name, 'changelog-not-required') || contains(github.event.pull_request.labels.*.name, 'Design') || contains(github.event.pull_request.labels.*.name, 'Website') || contains(github.event.pull_request.labels.*.name, 'Documentation'))}}
if: ${{ !(contains(github.event.pull_request.labels.*.name, 'kind/changelog-not-required') || contains(github.event.pull_request.labels.*.name, 'Design') || contains(github.event.pull_request.labels.*.name, 'Website') || contains(github.event.pull_request.labels.*.name, 'Documentation'))}}
run: ./hack/changelog-check.sh