-
Notifications
You must be signed in to change notification settings - Fork 15
/
watched_queries.yml
37 lines (34 loc) · 1.32 KB
/
watched_queries.yml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
---
# The template string shows how to format the info for each review.
# A review contains:
# {'_number': 490743,
# 'mergeable': True,
# 'subject': 'Updated from global requirements',
# 'project': 'openstack/congress',
# 'owner': {'_account_id': 11131},
# 'branch': 'master',
# 'insertions': 1,
# 'created': '2017-08-04 04:31:47.000000000',
# 'deletions': 1,
# 'id': 'openstack%2Fcongress~master~I52e06d42a25e1780984fbf37fe9cd2c7e4bc8a9f',
# 'hashtags': [],
# 'topic': 'openstack/requirements',
# 'status': 'NEW',
# 'updated': '2017-08-04 11:12:50.000000000',
# 'change_id': 'I52e06d42a25e1780984fbf37fe9cd2c7e4bc8a9f'}
template: |
[{status}] {subject}
Updated: {updated}
Topic: {topic}
https://review.opendev.org/{_number}
# The query items need a title, to be displayed above the output, and
# a query string. The query string can include {branch} and {project},
# which will be replaced with the full branch name and the git
# repository name respectively.
queries:
- title: Open patches from the proposal bot
query: "is:open branch:{branch} project:{project} owner:proposal-bot"
- title: Documentation patches
query: "is:open branch:{branch} project:{project} path:^doc/source/.*"
- title: Patches with release notes
query: "is:open branch:{branch} project:{project} path:^releasenotes/.*"