1
1
module . exports = Object . freeze ( {
2
2
/** @type {string } */
3
3
// 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, '' ) || '' ,
5
5
6
6
/** @type {string } */
7
- " PR_AUTHOR" : process . env . PR_AUTHOR ?. replace ( / " / g, '' ) || "" ,
7
+ PR_AUTHOR : process . env . PR_AUTHOR ?. replace ( / " / g, '' ) || '' ,
8
8
9
9
/** @type {string } */
10
- " PR_BODY" : process . env . PR_BODY || "" ,
10
+ PR_BODY : process . env . PR_BODY || '' ,
11
11
12
12
/** @type {string } */
13
- " PR_TITLE" : process . env . PR_TITLE || "" ,
13
+ PR_TITLE : process . env . PR_TITLE || '' ,
14
14
15
15
/** @type {number } */
16
- " PR_NUMBER" : process . env . PR_NUMBER || 0 ,
16
+ PR_NUMBER : process . env . PR_NUMBER || 0 ,
17
17
18
18
/** @type {string } */
19
- " PR_IS_MERGED" : process . env . PR_IS_MERGED || " false" ,
19
+ PR_IS_MERGED : process . env . PR_IS_MERGED || ' false' ,
20
20
21
21
/** @type {string } */
22
- " LABEL_BLOCK" : " do-not-merge" ,
22
+ LABEL_BLOCK : ' do-not-merge' ,
23
23
24
24
/** @type {string } */
25
- " LABEL_BLOCK_REASON" : " need-issue" ,
25
+ LABEL_BLOCK_REASON : ' need-issue' ,
26
26
27
27
/** @type {string } */
28
- " LABEL_PENDING_RELEASE" : " pending-release" ,
29
-
28
+ LABEL_PENDING_RELEASE : ' pending-release' ,
29
+
30
30
/** @type {string } */
31
- " LABEL_RELEASED" : " completed" ,
31
+ LABEL_RELEASED : ' completed' ,
32
32
33
33
/** @type {string } */
34
- " HANDLE_MAINTAINERS_TEAM" : " @aws-powertools/lambda-typescript" ,
34
+ HANDLE_MAINTAINERS_TEAM : ' @aws-powertools/lambda-typescript' ,
35
35
36
36
/** @type {string[] } */
37
- " IGNORE_AUTHORS" : [ " dependabot[bot]" ] ,
37
+ IGNORE_AUTHORS : [ ' dependabot[bot]' ] ,
38
38
39
39
/** @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