@@ -126,15 +126,15 @@ class GithubUtils {
126
126
}
127
127
PRListSection = PRListSection [ 1 ] ;
128
128
const unverifiedPRs = _ . map (
129
- [ ...PRListSection . matchAll ( new RegExp ( `- (${ PULL_REQUEST_REGEX . source } )[\r\n]\\s+- \\[ \\] QA` , 'g' ) ) ] ,
129
+ [ ...PRListSection . matchAll ( new RegExp ( `(${ PULL_REQUEST_REGEX . source } )[\r\n]\\s+- \\[ \\] QA` , 'g' ) ) ] ,
130
130
match => ( {
131
131
url : match [ 1 ] ,
132
132
number : GithubUtils . getPullRequestNumberFromURL ( match [ 1 ] ) ,
133
133
isVerified : false ,
134
134
} ) ,
135
135
) ;
136
136
const verifiedPRs = _ . map (
137
- [ ...PRListSection . matchAll ( new RegExp ( `- (${ PULL_REQUEST_REGEX . source } )[\r\n]\\s+- \\[x\\] QA` , 'g' ) ) ] ,
137
+ [ ...PRListSection . matchAll ( new RegExp ( `(${ PULL_REQUEST_REGEX . source } )[\r\n]\\s+- \\[x\\] QA` , 'g' ) ) ] ,
138
138
match => ( {
139
139
url : match [ 1 ] ,
140
140
number : GithubUtils . getPullRequestNumberFromURL ( match [ 1 ] ) ,
@@ -162,15 +162,15 @@ class GithubUtils {
162
162
}
163
163
deployBlockerSection = deployBlockerSection [ 1 ] ;
164
164
const unresolvedDeployBlockers = _ . map (
165
- [ ...deployBlockerSection . matchAll ( new RegExp ( `- (${ ISSUE_OR_PULL_REQUEST_REGEX . source } )[\r\n]\\s+- \\[ \\] QA` , 'g' ) ) ] ,
165
+ [ ...deployBlockerSection . matchAll ( new RegExp ( `(${ ISSUE_OR_PULL_REQUEST_REGEX . source } )[\r\n]\\s+- \\[ \\] QA` , 'g' ) ) ] ,
166
166
match => ( {
167
167
url : match [ 1 ] ,
168
168
number : GithubUtils . getIssueOrPullRequestNumberFromURL ( match [ 1 ] ) ,
169
169
isResolved : false ,
170
170
} ) ,
171
171
) ;
172
172
const resolvedDeployBlockers = _ . map (
173
- [ ...deployBlockerSection . matchAll ( new RegExp ( `- (${ ISSUE_OR_PULL_REQUEST_REGEX . source } )[\r\n]\\s+- \\[x\\] QA` , 'g' ) ) ] ,
173
+ [ ...deployBlockerSection . matchAll ( new RegExp ( `(${ ISSUE_OR_PULL_REQUEST_REGEX . source } )[\r\n]\\s+- \\[x\\] QA` , 'g' ) ) ] ,
174
174
match => ( {
175
175
url : match [ 1 ] ,
176
176
number : GithubUtils . getIssueOrPullRequestNumberFromURL ( match [ 1 ] ) ,
@@ -227,7 +227,7 @@ class GithubUtils {
227
227
if ( ! _ . isEmpty ( sortedPRList ) ) {
228
228
issueBody += '\r\n**This release contains changes from the following pull requests:**' ;
229
229
_ . each ( sortedPRList , ( URL ) => {
230
- issueBody += `\r\n\r\n- ${ URL } ` ;
230
+ issueBody += `\r\n\r\n${ URL } ` ;
231
231
issueBody += _ . contains ( verifiedPRList , URL ) ? '\r\n - [x] QA' : '\r\n - [ ] QA' ;
232
232
issueBody += _ . contains ( accessabilityPRList , URL ) ? '\r\n - [x] Accessibility' : '\r\n - [ ] Accessibility' ;
233
233
} ) ;
@@ -237,7 +237,7 @@ class GithubUtils {
237
237
if ( ! _ . isEmpty ( deployBlockers ) ) {
238
238
issueBody += '\r\n\r\n\r\n**Deploy Blockers:**' ;
239
239
_ . each ( sortedDeployBlockers , ( URL ) => {
240
- issueBody += `\r\n\r\n- ${ URL } ` ;
240
+ issueBody += `\r\n\r\n${ URL } ` ;
241
241
issueBody += _ . contains ( resolvedDeployBlockers , URL ) ? '\r\n - [x] QA' : '\r\n - [ ] QA' ;
242
242
issueBody += _ . contains ( accessabilityPRList , URL ) ? '\r\n - [x] Accessibility' : '\r\n - [ ] Accessibility' ;
243
243
} ) ;
@@ -321,7 +321,7 @@ class GithubUtils {
321
321
static getReleaseBody ( pullRequests ) {
322
322
return _ . map (
323
323
pullRequests ,
324
- number => `- ${ this . getPullRequestURLFromNumber ( number ) } ` ,
324
+ number => `${ this . getPullRequestURLFromNumber ( number ) } ` ,
325
325
) . join ( '\r\n' ) ;
326
326
}
327
327
0 commit comments