File tree Expand file tree Collapse file tree 3 files changed +3
-9
lines changed Expand file tree Collapse file tree 3 files changed +3
-9
lines changed Original file line number Diff line number Diff line change @@ -8528,14 +8528,11 @@ async function main() {
8528
8528
pull_number: context.payload.pull_request.number,
8529
8529
});
8530
8530
8531
- if (data.body === '' ) {
8531
+ if (data.body === null ) {
8532
8532
core.setFailed('\nFail: PR Description is required.');
8533
8533
return;
8534
8534
}
8535
8535
8536
- core.info('sample of body:');
8537
- core.info(data.body);
8538
-
8539
8536
core.info('\nExtracting Jira issue from PR title');
8540
8537
8541
8538
const capturingGroupContainingIdNum = Number(capturingGroupContainingId);
Original file line number Diff line number Diff line change @@ -58,14 +58,11 @@ async function main() {
58
58
pull_number : context . payload . pull_request . number ,
59
59
} ) ;
60
60
61
- if ( data . body === '' ) {
61
+ if ( data . body === null ) {
62
62
core . setFailed ( '\nFail: PR Description is required.' ) ;
63
63
return ;
64
64
}
65
65
66
- core . info ( 'sample of body:' ) ;
67
- core . info ( data . body ) ;
68
-
69
66
core . info ( '\nExtracting Jira issue from PR title' ) ;
70
67
71
68
const capturingGroupContainingIdNum = Number ( capturingGroupContainingId ) ;
Original file line number Diff line number Diff line change 1
1
{
2
2
"private" : true ,
3
- "version" : " 1.0.5 " ,
3
+ "version" : " 1.0.6 " ,
4
4
"description" : " See CONTRIBUTING.md for how to contribute to this project" ,
5
5
"scripts" : {
6
6
"build" : " ncc build index.js --license licenses.txt"
You can’t perform that action at this time.
0 commit comments