Skip to content
This repository was archived by the owner on Sep 3, 2022. It is now read-only.

Commit bbf5240

Browse files
author
King Long Tse
authored
Updated mergeable config to check for testing statement in PR description (#161)
* updated mergeable config
1 parent 3ca3ea8 commit bbf5240

File tree

1 file changed

+8
-0
lines changed

1 file changed

+8
-0
lines changed

.github/mergeable.yml

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,7 @@
11
version: 2
22
mergeable:
33
- when: pull_request.*
4+
name: 'PR description: versioning'
45
validate:
56
- do: or
67
validate:
@@ -12,3 +13,10 @@ mergeable:
1213
must_include:
1314
regex: 'New version is not required'
1415
message: 'Should cut a new version or explicitly documents new version not required in description'
16+
- when: pull_request.*
17+
name: 'PR description: testing'
18+
validate:
19+
- do: description
20+
must_include:
21+
regex: 'Testing completed successfully|Testing not required'
22+
message: 'Please describe how testing was done or explicitly state testing not required'

0 commit comments

Comments
 (0)