Skip to content

Commit 0f3b7d8

Browse files
Merge branch 'main' into feat-64365
2 parents e17f02a + 7ca08dc commit 0f3b7d8

258 files changed

Lines changed: 4777 additions & 5215 deletions

File tree

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

.github/actions/javascript/authorChecklist/index.js

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -15602,7 +15602,11 @@ class GithubUtils {
1560215602
* @private
1560315603
*/
1560415604
static initOctokit() {
15605-
const token = core.getInput('GITHUB_TOKEN', { required: true });
15605+
const token = process.env.GITHUB_TOKEN ?? core.getInput('GITHUB_TOKEN', { required: true });
15606+
if (!token) {
15607+
console.error('GitHubUtils could not find GITHUB_TOKEN');
15608+
process.exit(1);
15609+
}
1560615610
this.initOctokitWithToken(token);
1560715611
}
1560815612
/**

.github/actions/javascript/awaitStagingDeploys/index.js

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -12376,7 +12376,11 @@ class GithubUtils {
1237612376
* @private
1237712377
*/
1237812378
static initOctokit() {
12379-
const token = core.getInput('GITHUB_TOKEN', { required: true });
12379+
const token = process.env.GITHUB_TOKEN ?? core.getInput('GITHUB_TOKEN', { required: true });
12380+
if (!token) {
12381+
console.error('GitHubUtils could not find GITHUB_TOKEN');
12382+
process.exit(1);
12383+
}
1238012384
this.initOctokitWithToken(token);
1238112385
}
1238212386
/**

.github/actions/javascript/checkAndroidStatus/index.js

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -737095,7 +737095,11 @@ class GithubUtils {
737095737095
* @private
737096737096
*/
737097737097
static initOctokit() {
737098-
const token = core.getInput('GITHUB_TOKEN', { required: true });
737098+
const token = process.env.GITHUB_TOKEN ?? core.getInput('GITHUB_TOKEN', { required: true });
737099+
if (!token) {
737100+
console.error('GitHubUtils could not find GITHUB_TOKEN');
737101+
process.exit(1);
737102+
}
737099737103
this.initOctokitWithToken(token);
737100737104
}
737101737105
/**

.github/actions/javascript/checkDeployBlockers/index.js

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -11659,7 +11659,11 @@ class GithubUtils {
1165911659
* @private
1166011660
*/
1166111661
static initOctokit() {
11662-
const token = core.getInput('GITHUB_TOKEN', { required: true });
11662+
const token = process.env.GITHUB_TOKEN ?? core.getInput('GITHUB_TOKEN', { required: true });
11663+
if (!token) {
11664+
console.error('GitHubUtils could not find GITHUB_TOKEN');
11665+
process.exit(1);
11666+
}
1166311667
this.initOctokitWithToken(token);
1166411668
}
1166511669
/**

.github/actions/javascript/createOrUpdateStagingDeploy/index.js

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -11926,7 +11926,11 @@ class GithubUtils {
1192611926
* @private
1192711927
*/
1192811928
static initOctokit() {
11929-
const token = core.getInput('GITHUB_TOKEN', { required: true });
11929+
const token = process.env.GITHUB_TOKEN ?? core.getInput('GITHUB_TOKEN', { required: true });
11930+
if (!token) {
11931+
console.error('GitHubUtils could not find GITHUB_TOKEN');
11932+
process.exit(1);
11933+
}
1193011934
this.initOctokitWithToken(token);
1193111935
}
1193211936
/**

.github/actions/javascript/getArtifactInfo/index.js

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -11620,7 +11620,11 @@ class GithubUtils {
1162011620
* @private
1162111621
*/
1162211622
static initOctokit() {
11623-
const token = core.getInput('GITHUB_TOKEN', { required: true });
11623+
const token = process.env.GITHUB_TOKEN ?? core.getInput('GITHUB_TOKEN', { required: true });
11624+
if (!token) {
11625+
console.error('GitHubUtils could not find GITHUB_TOKEN');
11626+
process.exit(1);
11627+
}
1162411628
this.initOctokitWithToken(token);
1162511629
}
1162611630
/**

.github/actions/javascript/getDeployPullRequestList/index.js

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -11963,7 +11963,11 @@ class GithubUtils {
1196311963
* @private
1196411964
*/
1196511965
static initOctokit() {
11966-
const token = core.getInput('GITHUB_TOKEN', { required: true });
11966+
const token = process.env.GITHUB_TOKEN ?? core.getInput('GITHUB_TOKEN', { required: true });
11967+
if (!token) {
11968+
console.error('GitHubUtils could not find GITHUB_TOKEN');
11969+
process.exit(1);
11970+
}
1196711971
this.initOctokitWithToken(token);
1196811972
}
1196911973
/**

.github/actions/javascript/getPullRequestDetails/index.js

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -11723,7 +11723,11 @@ class GithubUtils {
1172311723
* @private
1172411724
*/
1172511725
static initOctokit() {
11726-
const token = core.getInput('GITHUB_TOKEN', { required: true });
11726+
const token = process.env.GITHUB_TOKEN ?? core.getInput('GITHUB_TOKEN', { required: true });
11727+
if (!token) {
11728+
console.error('GitHubUtils could not find GITHUB_TOKEN');
11729+
process.exit(1);
11730+
}
1172711731
this.initOctokitWithToken(token);
1172811732
}
1172911733
/**

.github/actions/javascript/isStagingDeployLocked/index.js

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -11620,7 +11620,11 @@ class GithubUtils {
1162011620
* @private
1162111621
*/
1162211622
static initOctokit() {
11623-
const token = core.getInput('GITHUB_TOKEN', { required: true });
11623+
const token = process.env.GITHUB_TOKEN ?? core.getInput('GITHUB_TOKEN', { required: true });
11624+
if (!token) {
11625+
console.error('GitHubUtils could not find GITHUB_TOKEN');
11626+
process.exit(1);
11627+
}
1162411628
this.initOctokitWithToken(token);
1162511629
}
1162611630
/**

.github/actions/javascript/markPullRequestsAsDeployed/index.js

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -13017,7 +13017,11 @@ class GithubUtils {
1301713017
* @private
1301813018
*/
1301913019
static initOctokit() {
13020-
const token = core.getInput('GITHUB_TOKEN', { required: true });
13020+
const token = process.env.GITHUB_TOKEN ?? core.getInput('GITHUB_TOKEN', { required: true });
13021+
if (!token) {
13022+
console.error('GitHubUtils could not find GITHUB_TOKEN');
13023+
process.exit(1);
13024+
}
1302113025
this.initOctokitWithToken(token);
1302213026
}
1302313027
/**

0 commit comments

Comments
 (0)