[Internal] Automation: Adds logic to tag customer-reported issues (#4047)
* Added customer-reported label * Changing condition * padding * more padding * permission name * padding
This commit is contained in:
Родитель
e2311a9fdc
Коммит
f56944ef55
|
@ -38,6 +38,20 @@ configuration:
|
|||
- addLabel:
|
||||
label: needs-investigation
|
||||
description:
|
||||
- if:
|
||||
- payloadType: Issues
|
||||
- isAction:
|
||||
action: Opened
|
||||
- not:
|
||||
or:
|
||||
- activitySenderHasPermission:
|
||||
permission: Write
|
||||
- activitySenderHasPermission:
|
||||
permission: Admin
|
||||
then:
|
||||
- addLabel:
|
||||
label: customer-reported
|
||||
description: Identifies issues created by users without write access as customers
|
||||
- if:
|
||||
- payloadType: Pull_Request
|
||||
- hasLabel:
|
||||
|
|
Загрузка…
Ссылка в новой задаче