From cdbc7d38b068c41261fb069faa375d009154662e Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Manuel=20de=20la=20Pe=C3=B1a?= Date: Sun, 19 Apr 2020 13:46:39 +0200 Subject: [PATCH] ci: add botelastic descriptors for labelling issues (#17249) * ci: add botelastic descriptors for labelling issues * cI: add label on PRs using botelastic * ci: fix descriptor name * ci: fix typo in comment --- .github/comments.yml | 5 +++++ .github/labels.yml | 5 +++++ .github/relabel.yml | 4 ++++ 3 files changed, 14 insertions(+) create mode 100644 .github/comments.yml create mode 100644 .github/labels.yml create mode 100644 .github/relabel.yml diff --git a/.github/comments.yml b/.github/comments.yml new file mode 100644 index 000000000000..a98650f2f922 --- /dev/null +++ b/.github/comments.yml @@ -0,0 +1,5 @@ +--- +comments: + - label: needs_team + comment: | + This issue doesn't have a `Team:` label. diff --git a/.github/labels.yml b/.github/labels.yml new file mode 100644 index 000000000000..0d5261864557 --- /dev/null +++ b/.github/labels.yml @@ -0,0 +1,5 @@ +--- +pulls: + opened: + add: + - needs_team diff --git a/.github/relabel.yml b/.github/relabel.yml new file mode 100644 index 000000000000..d174b312f79d --- /dev/null +++ b/.github/relabel.yml @@ -0,0 +1,4 @@ +--- +requiredLabels: + - missingLabel: needs_team + regex: Team:.+