diff --git a/examples/opendev-gertty.yaml b/examples/opendev-gertty.yaml index 42ef4fd..7400e0c 100644 --- a/examples/opendev-gertty.yaml +++ b/examples/opendev-gertty.yaml @@ -84,6 +84,12 @@ commentlinks: - link: text: "{bug_str}" url: "https://storyboard.openstack.org/#!/task/{bug_id}" + # Match phrases containing "commit ", e.g. in cherry picks + - match: "(?Pcommit +(?P[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