Merge "examples: match 'commit <hash>'"

This commit is contained in:
Zuul 2021-08-24 16:47:00 +00:00 committed by Gerrit Code Review
commit e099120fe0

View File

@ -84,6 +84,12 @@ commentlinks:
- link:
text: "{bug_str}"
url: "https://storyboard.openstack.org/#!/task/{bug_id}"
# Match phrases containing "commit <commit ID>", e.g. in cherry picks
- match: "(?P<full_str>commit +(?P<id>[0-9a-f]{40}))"
replacements:
- search:
text: "{full_str}"
query: "commit:'{id}'"
# This is the query used for the list of changes when a project is
# selected. The default is "status:open". If you don't want to see