You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: .github/actions/javascript/authorChecklist/index.js
+46-1Lines changed: 46 additions & 1 deletion
Original file line number
Diff line number
Diff line change
@@ -15560,13 +15560,35 @@ const CONST = {
15560
15560
HELP_WANTED: 'Help Wanted',
15561
15561
CP_STAGING: 'CP Staging',
15562
15562
},
15563
+
STATE: {
15564
+
OPEN: 'open',
15565
+
},
15566
+
COMMENT: {
15567
+
TYPE_BOT: 'Bot',
15568
+
NAME_GITHUB_ACTIONS: 'github-actions',
15569
+
},
15563
15570
ACTIONS: {
15564
15571
CREATED: 'created',
15565
15572
EDITED: 'edited',
15566
15573
},
15567
15574
EVENTS: {
15568
15575
ISSUE_COMMENT: 'issue_comment',
15569
15576
},
15577
+
RUN_EVENT: {
15578
+
PULL_REQUEST: 'pull_request',
15579
+
PULL_REQUEST_TARGET: 'pull_request_target',
15580
+
PUSH: 'push',
15581
+
},
15582
+
RUN_STATUS: {
15583
+
COMPLETED: 'completed',
15584
+
IN_PROGRESS: 'in_progress',
15585
+
QUEUED: 'queued',
15586
+
},
15587
+
RUN_STATUS_CONCLUSION: {
15588
+
SUCCESS: 'success',
15589
+
},
15590
+
TEST_WORKFLOW_NAME: 'Jest Unit Tests',
15591
+
TEST_WORKFLOW_PATH: '.github/workflows/test.yml',
15570
15592
PROPOSAL_KEYWORD: 'Proposal',
15571
15593
DATE_FORMAT_STRING: 'yyyy-MM-dd',
15572
15594
PULL_REQUEST_REGEX: new RegExp(`${GITHUB_BASE_URL_REGEX.source}/.*/.*/pull/([0-9]+).*`),
@@ -15578,6 +15600,7 @@ const CONST = {
15578
15600
NO_ACTION: 'NO_ACTION',
15579
15601
ACTION_EDIT: 'ACTION_EDIT',
15580
15602
ACTION_REQUIRED: 'ACTION_REQUIRED',
15603
+
ACTION_HIDE_DUPLICATE: 'ACTION_HIDE_DUPLICATE',
15581
15604
};
15582
15605
exports["default"] = CONST;
15583
15606
@@ -15834,7 +15857,10 @@ class GithubUtils {
15834
15857
const sortedDeployBlockers = [...new Set(deployBlockers)].sort((a, b) => GithubUtils.getIssueOrPullRequestNumberFromURL(a) - GithubUtils.getIssueOrPullRequestNumberFromURL(b));
15835
15858
// Tag version and comparison URL
15836
15859
// eslint-disable-next-line max-len
15837
-
let issueBody = `**Release Version:** \`${tag}\`\r\n**Compare Changes:** https://github.com/${process.env.GITHUB_REPOSITORY}/compare/production...staging\r\n`;
15860
+
let issueBody = `**Release Version:** \`${tag}\`\r\n**Compare Changes:** https://github.com/${process.env.GITHUB_REPOSITORY}/compare/production...staging\r\n\r\n`;
15861
+
// Warn deployers about potential bugs with the new process
15862
+
issueBody +=
15863
+
'> 💡 **Deployer FYI:** This checklist was generated using a new process. PR list from original method and detail logging can be found in the most recent [deploy workflow](https://github.com/Expensify/App/actions/workflows/deploy.yml) labeled `staging`, in the `createChecklist` action. Please tag @Julesssss with any issues.\r\n\r\n';
15838
15864
// PR list
15839
15865
if (sortedPRList.length > 0) {
15840
15866
issueBody += '\r\n**This release contains changes from the following pull requests:**\r\n';
@@ -12307,6 +12307,23 @@ function getStringInput(name, options, defaultValue) {
12307
12307
return input;
12308
12308
}
12309
12309
exports.getStringInput = getStringInput;
12310
+
/**
12311
+
* Converts a value to a number, returning 0 for non-numeric values.
12312
+
*/
12313
+
function convertToNumber(value) {
12314
+
switch (typeof value) {
12315
+
case 'number':
12316
+
return value;
12317
+
case 'string':
12318
+
if (!Number.isNaN(Number(value))) {
12319
+
return Number(value);
12320
+
}
12321
+
return 0;
12322
+
default:
12323
+
return 0;
12324
+
}
12325
+
}
12326
+
exports.convertToNumber = convertToNumber;
12310
12327
12311
12328
12312
12329
/***/ }),
@@ -12334,13 +12351,35 @@ const CONST = {
12334
12351
HELP_WANTED: 'Help Wanted',
12335
12352
CP_STAGING: 'CP Staging',
12336
12353
},
12354
+
STATE: {
12355
+
OPEN: 'open',
12356
+
},
12357
+
COMMENT: {
12358
+
TYPE_BOT: 'Bot',
12359
+
NAME_GITHUB_ACTIONS: 'github-actions',
12360
+
},
12337
12361
ACTIONS: {
12338
12362
CREATED: 'created',
12339
12363
EDITED: 'edited',
12340
12364
},
12341
12365
EVENTS: {
12342
12366
ISSUE_COMMENT: 'issue_comment',
12343
12367
},
12368
+
RUN_EVENT: {
12369
+
PULL_REQUEST: 'pull_request',
12370
+
PULL_REQUEST_TARGET: 'pull_request_target',
12371
+
PUSH: 'push',
12372
+
},
12373
+
RUN_STATUS: {
12374
+
COMPLETED: 'completed',
12375
+
IN_PROGRESS: 'in_progress',
12376
+
QUEUED: 'queued',
12377
+
},
12378
+
RUN_STATUS_CONCLUSION: {
12379
+
SUCCESS: 'success',
12380
+
},
12381
+
TEST_WORKFLOW_NAME: 'Jest Unit Tests',
12382
+
TEST_WORKFLOW_PATH: '.github/workflows/test.yml',
12344
12383
PROPOSAL_KEYWORD: 'Proposal',
12345
12384
DATE_FORMAT_STRING: 'yyyy-MM-dd',
12346
12385
PULL_REQUEST_REGEX: new RegExp(`${GITHUB_BASE_URL_REGEX.source}/.*/.*/pull/([0-9]+).*`),
@@ -12352,6 +12391,7 @@ const CONST = {
12352
12391
NO_ACTION: 'NO_ACTION',
12353
12392
ACTION_EDIT: 'ACTION_EDIT',
12354
12393
ACTION_REQUIRED: 'ACTION_REQUIRED',
12394
+
ACTION_HIDE_DUPLICATE: 'ACTION_HIDE_DUPLICATE',
12355
12395
};
12356
12396
exports["default"] = CONST;
12357
12397
@@ -12608,7 +12648,10 @@ class GithubUtils {
12608
12648
const sortedDeployBlockers = [...new Set(deployBlockers)].sort((a, b) => GithubUtils.getIssueOrPullRequestNumberFromURL(a) - GithubUtils.getIssueOrPullRequestNumberFromURL(b));
12609
12649
// Tag version and comparison URL
12610
12650
// eslint-disable-next-line max-len
12611
-
let issueBody = `**Release Version:** \`${tag}\`\r\n**Compare Changes:** https://github.com/${process.env.GITHUB_REPOSITORY}/compare/production...staging\r\n`;
12651
+
let issueBody = `**Release Version:** \`${tag}\`\r\n**Compare Changes:** https://github.com/${process.env.GITHUB_REPOSITORY}/compare/production...staging\r\n\r\n`;
12652
+
// Warn deployers about potential bugs with the new process
12653
+
issueBody +=
12654
+
'> 💡 **Deployer FYI:** This checklist was generated using a new process. PR list from original method and detail logging can be found in the most recent [deploy workflow](https://github.com/Expensify/App/actions/workflows/deploy.yml) labeled `staging`, in the `createChecklist` action. Please tag @Julesssss with any issues.\r\n\r\n';
12612
12655
// PR list
12613
12656
if (sortedPRList.length > 0) {
12614
12657
issueBody += '\r\n**This release contains changes from the following pull requests:**\r\n';
Copy file name to clipboardExpand all lines: .github/actions/javascript/checkAndroidStatus/index.js
+46-1Lines changed: 46 additions & 1 deletion
Original file line number
Diff line number
Diff line change
@@ -737053,13 +737053,35 @@ const CONST = {
737053
737053
HELP_WANTED: 'Help Wanted',
737054
737054
CP_STAGING: 'CP Staging',
737055
737055
},
737056
+
STATE: {
737057
+
OPEN: 'open',
737058
+
},
737059
+
COMMENT: {
737060
+
TYPE_BOT: 'Bot',
737061
+
NAME_GITHUB_ACTIONS: 'github-actions',
737062
+
},
737056
737063
ACTIONS: {
737057
737064
CREATED: 'created',
737058
737065
EDITED: 'edited',
737059
737066
},
737060
737067
EVENTS: {
737061
737068
ISSUE_COMMENT: 'issue_comment',
737062
737069
},
737070
+
RUN_EVENT: {
737071
+
PULL_REQUEST: 'pull_request',
737072
+
PULL_REQUEST_TARGET: 'pull_request_target',
737073
+
PUSH: 'push',
737074
+
},
737075
+
RUN_STATUS: {
737076
+
COMPLETED: 'completed',
737077
+
IN_PROGRESS: 'in_progress',
737078
+
QUEUED: 'queued',
737079
+
},
737080
+
RUN_STATUS_CONCLUSION: {
737081
+
SUCCESS: 'success',
737082
+
},
737083
+
TEST_WORKFLOW_NAME: 'Jest Unit Tests',
737084
+
TEST_WORKFLOW_PATH: '.github/workflows/test.yml',
737063
737085
PROPOSAL_KEYWORD: 'Proposal',
737064
737086
DATE_FORMAT_STRING: 'yyyy-MM-dd',
737065
737087
PULL_REQUEST_REGEX: new RegExp(`${GITHUB_BASE_URL_REGEX.source}/.*/.*/pull/([0-9]+).*`),
@@ -737071,6 +737093,7 @@ const CONST = {
737071
737093
NO_ACTION: 'NO_ACTION',
737072
737094
ACTION_EDIT: 'ACTION_EDIT',
737073
737095
ACTION_REQUIRED: 'ACTION_REQUIRED',
737096
+
ACTION_HIDE_DUPLICATE: 'ACTION_HIDE_DUPLICATE',
737074
737097
};
737075
737098
exports["default"] = CONST;
737076
737099
@@ -737327,7 +737350,10 @@ class GithubUtils {
737327
737350
const sortedDeployBlockers = [...new Set(deployBlockers)].sort((a, b) => GithubUtils.getIssueOrPullRequestNumberFromURL(a) - GithubUtils.getIssueOrPullRequestNumberFromURL(b));
737328
737351
// Tag version and comparison URL
737329
737352
// eslint-disable-next-line max-len
737330
-
let issueBody = `**Release Version:** \`${tag}\`\r\n**Compare Changes:** https://github.com/${process.env.GITHUB_REPOSITORY}/compare/production...staging\r\n`;
737353
+
let issueBody = `**Release Version:** \`${tag}\`\r\n**Compare Changes:** https://github.com/${process.env.GITHUB_REPOSITORY}/compare/production...staging\r\n\r\n`;
737354
+
// Warn deployers about potential bugs with the new process
737355
+
issueBody +=
737356
+
'> 💡 **Deployer FYI:** This checklist was generated using a new process. PR list from original method and detail logging can be found in the most recent [deploy workflow](https://github.com/Expensify/App/actions/workflows/deploy.yml) labeled `staging`, in the `createChecklist` action. Please tag @Julesssss with any issues.\r\n\r\n';
737331
737357
// PR list
737332
737358
if (sortedPRList.length > 0) {
737333
737359
issueBody += '\r\n**This release contains changes from the following pull requests:**\r\n';
0 commit comments