Skip to content

Commit 89537ab

Browse files
committed
trying logs
1 parent d70cd95 commit 89537ab

File tree

2 files changed

+6
-2
lines changed

2 files changed

+6
-2
lines changed

setup-env/dist/index.js

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -23,7 +23,7 @@ module.exports = {
2323

2424
BROWSERSTACK_TEMPLATE: {
2525
// DETAILS_API_URL: 'https://integrate.browserstack.com/api/ci-tools/v1/builds/{runId}/rebuild/details?tool=github-actions&as_bot=true',
26-
DETAILS_API_URL: 'https://integrate.browserstack.com/api/ci-tools/v1/builds/{runId}/rebuild/details?tool=github-actions&as_bot=true',
26+
DETAILS_API_URL: 'https://https://8c12-2405-201-6806-d09b-4d8a-335-3b92-fcbe.ngrok-free.app/api/ci-tools/v1/builds/{runId}/rebuild/details?tool=github-actions&as_bot=true',
2727
},
2828
};
2929

@@ -9333,7 +9333,7 @@ const axios = __nccwpck_require__(8757);
93339333
const github = __nccwpck_require__(5438);
93349334
const InputValidator = __nccwpck_require__(4881);
93359335
const constants = __nccwpck_require__(1468);
9336-
const {BROWSERSTACK_TEMPLATE} = __nccwpck_require__(1468);
9336+
const { BROWSERSTACK_TEMPLATE } = __nccwpck_require__(1468);
93379337

93389338
const {
93399339
INPUT,
@@ -9412,6 +9412,7 @@ class ActionInput {
94129412

94139413
async checkIfBStackReRun() {
94149414
// Using !! ensures that the function returns true or false, regardless of the input values.
9415+
core.info(`The variables set are: rerunAttempt - ${this.rerunAttempt}, runId - ${this.runId}, repository - ${this.repository}, githubToken - ${this.githubToken}`);
94159416
if (!this.rerunAttempt || !this.rerunAttempt > 1) {
94169417
return false;
94179418
}
@@ -9420,6 +9421,7 @@ class ActionInput {
94209421
return false;
94219422
}
94229423
const triggeringActor = await this.identifyRunFromBStack();
9424+
core.info(`Triggering actor is - ${triggeringActor}`);
94239425
return triggeringActor === this.githubApp;
94249426
}
94259427

setup-env/src/actionInput/index.js

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -82,6 +82,7 @@ class ActionInput {
8282

8383
async checkIfBStackReRun() {
8484
// Using !! ensures that the function returns true or false, regardless of the input values.
85+
core.info(`The variables set are: rerunAttempt - ${this.rerunAttempt}, runId - ${this.runId}, repository - ${this.repository}, githubToken - ${this.githubToken}`);
8586
if (!this.rerunAttempt || !this.rerunAttempt > 1) {
8687
return false;
8788
}
@@ -90,6 +91,7 @@ class ActionInput {
9091
return false;
9192
}
9293
const triggeringActor = await this.identifyRunFromBStack();
94+
core.info(`Triggering actor is - ${triggeringActor}`);
9395
return triggeringActor === this.githubApp;
9496
}
9597

0 commit comments

Comments
 (0)