Update policy/workflow automation to use new area labels (#22410)

Some got renamed, some are gone.
This commit is contained in:
Eilon Lipton 2024-05-14 14:42:42 -07:00 коммит произвёл GitHub
Родитель c0fbb03740
Коммит 97b9ecdc50
Не найден ключ, соответствующий данной подписи
Идентификатор ключа GPG: B5690EEEBB952194
2 изменённых файлов: 2 добавлений и 108 удалений

108
.github/policies/resourceManagement.yml поставляемый
Просмотреть файл

@ -236,7 +236,7 @@ configuration:
isRegex: False
then:
- addLabel:
label: "area/infrastructure \U0001F3D7"
label: "area-infrastructure"
description: '[Infrastructure PRs] Add area-infrastructure label to dependency update Pull Requests'
- if:
- payloadType: Pull_Request
@ -286,112 +286,6 @@ configuration:
This issue will be closed automatically in 7 days if we do not hear back from you by then - please feel free to re-open it if you come back to this issue after that time.
description: Add comment when 's/needs-repro' is applied to issue
- if:
- payloadType: Issues
- or:
- labelAdded:
label: control-newcontrol
- labelAdded:
label: control-general
- labelAdded:
label: control-webview
- labelAdded:
label: control-datetimepicker
- labelAdded:
label: control-picker
- labelAdded:
label: control-switch
- labelAdded:
label: control-dualscreen
- labelAdded:
label: control-checkbox
- labelAdded:
label: control-border
- labelAdded:
label: control-label
- labelAdded:
label: control-button
- labelAdded:
label: control-dialogalert
- labelAdded:
label: control-entry
- labelAdded:
label: control-frame
- labelAdded:
label: control-stepper
- labelAdded:
label: control-refreshview
- labelAdded:
label: control-image
- labelAdded:
label: control-activityindicator
- labelAdded:
label: control-radiobutton
- labelAdded:
label: control-slider
- labelAdded:
label: control-progressbar
- labelAdded:
label: control-pages
- labelAdded:
label: control-map
then:
- addLabel:
label: "area/controls \U0001F3AE"
description: Add area/controls label when any 'control-X' label is applied to the issue
- if:
- payloadType: Pull_Request
- or:
- labelAdded:
label: control-newcontrol
- labelAdded:
label: control-general
- labelAdded:
label: control-webview
- labelAdded:
label: control-datetimepicker
- labelAdded:
label: control-picker
- labelAdded:
label: control-switch
- labelAdded:
label: control-dualscreen
- labelAdded:
label: control-checkbox
- labelAdded:
label: control-border
- labelAdded:
label: control-label
- labelAdded:
label: control-button
- labelAdded:
label: control-dialogalert
- labelAdded:
label: control-entry
- labelAdded:
label: control-frame
- labelAdded:
label: control-stepper
- labelAdded:
label: control-refreshview
- labelAdded:
label: control-image
- labelAdded:
label: control-activityindicator
- labelAdded:
label: control-radiobutton
- labelAdded:
label: control-slider
- labelAdded:
label: control-progressbar
- labelAdded:
label: control-pages
- labelAdded:
label: control-map
then:
- addLabel:
label: "area/controls \U0001F3AE"
description: Add area/controls label when any 'control-X' label is applied to the PR
- if:
- payloadType: Issues
- isAction:

Просмотреть файл

@ -42,7 +42,7 @@ jobs:
author: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>
labels: |
t/housekeeping ♻︎
area/infrastructure 🏗️
area-infrastructure
assignees: rmarinho, jsuarezruiz
reviewers: rmarinho, jsuarezruiz
branch: housekeeping/fix-codeformatting