-
Notifications
You must be signed in to change notification settings - Fork 408
/
Copy pathconstants.js
42 lines (29 loc) · 1.18 KB
/
constants.js
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
module.exports = Object.freeze({
/** @type {string} */
// Values: https://docs.github.com/en/actions/using-workflows/events-that-trigger-workflows#pull_request
"PR_ACTION": process.env.PR_ACTION?.replace(/"/g, '') || "",
/** @type {string} */
"PR_AUTHOR": process.env.PR_AUTHOR?.replace(/"/g, '') || "",
/** @type {string} */
"PR_BODY": process.env.PR_BODY || "",
/** @type {string} */
"PR_TITLE": process.env.PR_TITLE || "",
/** @type {number} */
"PR_NUMBER": process.env.PR_NUMBER || 0,
/** @type {string} */
"PR_IS_MERGED": process.env.PR_IS_MERGED || "false",
/** @type {string} */
"PR_LABELS": process.env.PR_LABELS || "",
/** @type {string} */
"LABEL_BLOCK": "do-not-merge",
/** @type {string} */
"LABEL_BLOCK_REASON": "need-issue",
/** @type {string} */
"LABEL_BLOCK_MISSING_LICENSE_AGREEMENT": "need-license-agreement-acknowledge",
/** @type {string} */
"LABEL_PENDING_RELEASE": "pending-release",
/** @type {string} */
"HANDLE_MAINTAINERS_TEAM": "@aws-powertools/powertools-lambda-python",
/** @type {string[]} */
"IGNORE_AUTHORS": ["dependabot[bot]", "markdownify[bot]"],
});