Skip to content

Commit 7c342ad

Browse files
committed
Rebuild gh actions
1 parent 6a266e1 commit 7c342ad

15 files changed

Lines changed: 75 additions & 15 deletions

File tree

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

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -15565,7 +15565,11 @@ class GithubUtils {
1556515565
* @private
1556615566
*/
1556715567
static initOctokit() {
15568-
const token = core.getInput('GITHUB_TOKEN', { required: true });
15568+
const token = process.env.GITHUB_TOKEN ?? core.getInput('GITHUB_TOKEN', { required: true });
15569+
if (!token) {
15570+
console.error('GitHubUtils could not find GITHUB_TOKEN');
15571+
process.exit(1);
15572+
}
1556915573
this.initOctokitWithToken(token);
1557015574
}
1557115575
/**

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

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -12358,7 +12358,11 @@ class GithubUtils {
1235812358
* @private
1235912359
*/
1236012360
static initOctokit() {
12361-
const token = core.getInput('GITHUB_TOKEN', { required: true });
12361+
const token = process.env.GITHUB_TOKEN ?? core.getInput('GITHUB_TOKEN', { required: true });
12362+
if (!token) {
12363+
console.error('GitHubUtils could not find GITHUB_TOKEN');
12364+
process.exit(1);
12365+
}
1236212366
this.initOctokitWithToken(token);
1236312367
}
1236412368
/**

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

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -737058,7 +737058,11 @@ class GithubUtils {
737058737058
* @private
737059737059
*/
737060737060
static initOctokit() {
737061-
const token = core.getInput('GITHUB_TOKEN', { required: true });
737061+
const token = process.env.GITHUB_TOKEN ?? core.getInput('GITHUB_TOKEN', { required: true });
737062+
if (!token) {
737063+
console.error('GitHubUtils could not find GITHUB_TOKEN');
737064+
process.exit(1);
737065+
}
737062737066
this.initOctokitWithToken(token);
737063737067
}
737064737068
/**

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

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -11641,7 +11641,11 @@ class GithubUtils {
1164111641
* @private
1164211642
*/
1164311643
static initOctokit() {
11644-
const token = core.getInput('GITHUB_TOKEN', { required: true });
11644+
const token = process.env.GITHUB_TOKEN ?? core.getInput('GITHUB_TOKEN', { required: true });
11645+
if (!token) {
11646+
console.error('GitHubUtils could not find GITHUB_TOKEN');
11647+
process.exit(1);
11648+
}
1164511649
this.initOctokitWithToken(token);
1164611650
}
1164711651
/**

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

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -11908,7 +11908,11 @@ class GithubUtils {
1190811908
* @private
1190911909
*/
1191011910
static initOctokit() {
11911-
const token = core.getInput('GITHUB_TOKEN', { required: true });
11911+
const token = process.env.GITHUB_TOKEN ?? core.getInput('GITHUB_TOKEN', { required: true });
11912+
if (!token) {
11913+
console.error('GitHubUtils could not find GITHUB_TOKEN');
11914+
process.exit(1);
11915+
}
1191211916
this.initOctokitWithToken(token);
1191311917
}
1191411918
/**

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

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -11602,7 +11602,11 @@ class GithubUtils {
1160211602
* @private
1160311603
*/
1160411604
static initOctokit() {
11605-
const token = core.getInput('GITHUB_TOKEN', { required: true });
11605+
const token = process.env.GITHUB_TOKEN ?? core.getInput('GITHUB_TOKEN', { required: true });
11606+
if (!token) {
11607+
console.error('GitHubUtils could not find GITHUB_TOKEN');
11608+
process.exit(1);
11609+
}
1160611610
this.initOctokitWithToken(token);
1160711611
}
1160811612
/**

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

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -11945,7 +11945,11 @@ class GithubUtils {
1194511945
* @private
1194611946
*/
1194711947
static initOctokit() {
11948-
const token = core.getInput('GITHUB_TOKEN', { required: true });
11948+
const token = process.env.GITHUB_TOKEN ?? core.getInput('GITHUB_TOKEN', { required: true });
11949+
if (!token) {
11950+
console.error('GitHubUtils could not find GITHUB_TOKEN');
11951+
process.exit(1);
11952+
}
1194911953
this.initOctokitWithToken(token);
1195011954
}
1195111955
/**

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

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -11705,7 +11705,11 @@ class GithubUtils {
1170511705
* @private
1170611706
*/
1170711707
static initOctokit() {
11708-
const token = core.getInput('GITHUB_TOKEN', { required: true });
11708+
const token = process.env.GITHUB_TOKEN ?? core.getInput('GITHUB_TOKEN', { required: true });
11709+
if (!token) {
11710+
console.error('GitHubUtils could not find GITHUB_TOKEN');
11711+
process.exit(1);
11712+
}
1170911713
this.initOctokitWithToken(token);
1171011714
}
1171111715
/**

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

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -11602,7 +11602,11 @@ class GithubUtils {
1160211602
* @private
1160311603
*/
1160411604
static initOctokit() {
11605-
const token = core.getInput('GITHUB_TOKEN', { required: true });
11605+
const token = process.env.GITHUB_TOKEN ?? core.getInput('GITHUB_TOKEN', { required: true });
11606+
if (!token) {
11607+
console.error('GitHubUtils could not find GITHUB_TOKEN');
11608+
process.exit(1);
11609+
}
1160611610
this.initOctokitWithToken(token);
1160711611
}
1160811612
/**

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

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -12999,7 +12999,11 @@ class GithubUtils {
1299912999
* @private
1300013000
*/
1300113001
static initOctokit() {
13002-
const token = core.getInput('GITHUB_TOKEN', { required: true });
13002+
const token = process.env.GITHUB_TOKEN ?? core.getInput('GITHUB_TOKEN', { required: true });
13003+
if (!token) {
13004+
console.error('GitHubUtils could not find GITHUB_TOKEN');
13005+
process.exit(1);
13006+
}
1300313007
this.initOctokitWithToken(token);
1300413008
}
1300513009
/**

0 commit comments

Comments
 (0)