11module . exports = Object . freeze ( {
22 /** @type {string } */
33 // Values: https://docs.github.com/en/actions/using-workflows/events-that-trigger-workflows#pull_request
4- " PR_ACTION" : process . env . PR_ACTION ?. replace ( / " / g, '' ) || "" ,
4+ PR_ACTION : process . env . PR_ACTION ?. replace ( / " / g, '' ) || '' ,
55
66 /** @type {string } */
7- " PR_AUTHOR" : process . env . PR_AUTHOR ?. replace ( / " / g, '' ) || "" ,
7+ PR_AUTHOR : process . env . PR_AUTHOR ?. replace ( / " / g, '' ) || '' ,
88
99 /** @type {string } */
10- " PR_BODY" : process . env . PR_BODY || "" ,
10+ PR_BODY : process . env . PR_BODY || '' ,
1111
1212 /** @type {string } */
13- " PR_TITLE" : process . env . PR_TITLE || "" ,
13+ PR_TITLE : process . env . PR_TITLE || '' ,
1414
1515 /** @type {number } */
16- " PR_NUMBER" : process . env . PR_NUMBER || 0 ,
16+ PR_NUMBER : process . env . PR_NUMBER || 0 ,
1717
1818 /** @type {string } */
19- " PR_IS_MERGED" : process . env . PR_IS_MERGED || " false" ,
19+ PR_IS_MERGED : process . env . PR_IS_MERGED || ' false' ,
2020
2121 /** @type {string } */
22- " LABEL_BLOCK" : " do-not-merge" ,
22+ LABEL_BLOCK : ' do-not-merge' ,
2323
2424 /** @type {string } */
25- " LABEL_BLOCK_REASON" : " need-issue" ,
25+ LABEL_BLOCK_REASON : ' need-issue' ,
2626
2727 /** @type {string } */
28- " LABEL_PENDING_RELEASE" : " pending-release" ,
29-
28+ LABEL_PENDING_RELEASE : ' pending-release' ,
29+
3030 /** @type {string } */
31- " LABEL_RELEASED" : " completed" ,
31+ LABEL_RELEASED : ' completed' ,
3232
3333 /** @type {string } */
34- " HANDLE_MAINTAINERS_TEAM" : " @aws-powertools/lambda-typescript" ,
34+ HANDLE_MAINTAINERS_TEAM : ' @aws-powertools/lambda-typescript' ,
3535
3636 /** @type {string[] } */
37- " IGNORE_AUTHORS" : [ " dependabot[bot]" ] ,
37+ IGNORE_AUTHORS : [ ' dependabot[bot]' ] ,
3838
3939 /** @type {RegExp } */
40- "RELATED_ISSUE_REGEX" : / \b \* { 0 , 2 } [ i I ] s s u e [ n N ] u m b e r \* { 0 , 2 } : \* { 0 , 2 } \s * (?< closingWord > c l o s e s ? | c l o s e d | f i x | f i x e s ? | f i x e d | r e s o l v e s ? | r e s o l v e d ) ? \s * # (?< issue > \d + ) \b /
41- } ) ;
40+ RELATED_ISSUE_REGEX :
41+ / \b \* { 0 , 2 } [ i I ] s s u e [ n N ] u m b e r \* { 0 , 2 } : \* { 0 , 2 } \s * (?< closingWord > c l o s e s ? | c l o s e d | f i x | f i x e s ? | f i x e d | r e s o l v e s ? | r e s o l v e d ) ? \s * # (?< issue > \d + ) \b / ,
42+ } ) ;
0 commit comments