67 lines
1.5 KiB
YAML
67 lines
1.5 KiB
YAML
revision: 5
|
|
schema-version: 5
|
|
owner-ms-alias: adegeo
|
|
|
|
config:
|
|
DocMetadata:
|
|
Headers:
|
|
- ["---", "#### "]
|
|
|
|
ParserRegex: "^\\* (.*): (.*)$"
|
|
|
|
ContentUrlRegex:
|
|
- "### Page URL\n\n(.*)"
|
|
|
|
issues:
|
|
|
|
opened:
|
|
# New issue opened, add Not Triaged
|
|
- labels-add: [":watch: Not Triaged"]
|
|
|
|
# Try to detect an empty issue
|
|
- check:
|
|
- type: comment-body
|
|
value: "### Description[\\n\\r]+\\[Enter feedback here\\][\\n\\r]+###"
|
|
pass:
|
|
- labels-add: ["needs-more-info"]
|
|
- labels-remove: [":watch: Not Triaged"]
|
|
- close
|
|
|
|
# default for doc comment
|
|
- check:
|
|
- type: metadata-exists
|
|
pass:
|
|
- labels-add: ["Source - Docs.ms"]
|
|
- svc_subsvc_labels: true
|
|
|
|
# Add links to related issues if it's a doc issue
|
|
- check:
|
|
- type: metadata-exists
|
|
- type: variable-exists
|
|
name: "document_version_independent_id"
|
|
pass:
|
|
- link-related-issues
|
|
|
|
labeled:
|
|
|
|
# Temporary label to mark issues as updated for Quest. The label is instantly removed
|
|
- check:
|
|
- type: query
|
|
value: "length(Issue.Labels[?Name == 'mapQuest']) != `0`"
|
|
pass:
|
|
- labels-remove: ["mapQuest"]
|
|
|
|
projects_v2_item:
|
|
|
|
reordered:
|
|
|
|
- labels-add: ["mapQuest"]
|
|
|
|
edited:
|
|
|
|
- check:
|
|
- type: query
|
|
value: "EventPayload.changes.field_value.field_name == 'Priority' || EventPayload.changes.field_value.field_name == 'Size'"
|
|
pass:
|
|
- labels-add: ["mapQuest"]
|