Skip to content

Commit 90ff21a

Browse files
committed
Rerun Support added
1 parent 5ad4438 commit 90ff21a

File tree

4 files changed

+7
-9
lines changed

4 files changed

+7
-9
lines changed

setup-env/action.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -20,7 +20,7 @@ inputs:
2020
github-app:
2121
description: 'BrowserStack Github App'
2222
required: false
23-
default: 'browserstack-auth[bot]'
23+
default: 'browserstack[bot]'
2424
runs:
2525
using: 'node20'
2626
main: 'dist/index.js'

setup-env/config/constants.js

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,6 @@ module.exports = {
1616
},
1717

1818
BROWSERSTACK_TEMPLATE: {
19-
// DETAILS_API_URL: 'https://integrate.browserstack.com/api/ci-tools/v1/builds/{runId}/rebuild/details?tool=github-actions&as_bot=true',
20-
DETAILS_API_URL: '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',
19+
DETAILS_API_URL: 'https://integrate.browserstack.com/api/ci-tools/v1/builds/{runId}/rebuild/details?tool=github-actions&as_bot=true',
2120
},
2221
};

setup-env/dist/index.js

Lines changed: 3 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -22,8 +22,7 @@ module.exports = {
2222
},
2323

2424
BROWSERSTACK_TEMPLATE: {
25-
// 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://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',
25+
DETAILS_API_URL: 'https://integrate.browserstack.com/api/ci-tools/v1/builds/{runId}/rebuild/details?tool=github-actions&as_bot=true',
2726
},
2827
};
2928

@@ -9621,13 +9620,13 @@ class InputValidator {
96219620
* @throws {Error} If the input is not a valid non-empty string
96229621
*/
96239622
static validateGithubAppName(githubAppName) {
9624-
if (githubAppName && githubAppName.toLowerCase() !== 'browserstack-auth[bot]') {
9623+
if (githubAppName && githubAppName.toLowerCase() !== 'browserstack[bot]') {
96259624
if (typeof githubAppName === 'string' && githubAppName.trim().length > 0) {
96269625
return githubAppName;
96279626
}
96289627
throw new Error("Invalid input for 'github-app'. Must be a valid string.");
96299628
}
9630-
return 'browserstack-auth[bot]';
9629+
return 'browserstack[bot]';
96319630
}
96329631
}
96339632

setup-env/src/actionInput/inputValidator.js

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -140,13 +140,13 @@ class InputValidator {
140140
* @throws {Error} If the input is not a valid non-empty string
141141
*/
142142
static validateGithubAppName(githubAppName) {
143-
if (githubAppName && githubAppName.toLowerCase() !== 'browserstack-auth[bot]') {
143+
if (githubAppName && githubAppName.toLowerCase() !== 'browserstack[bot]') {
144144
if (typeof githubAppName === 'string' && githubAppName.trim().length > 0) {
145145
return githubAppName;
146146
}
147147
throw new Error("Invalid input for 'github-app'. Must be a valid string.");
148148
}
149-
return 'browserstack-auth[bot]';
149+
return 'browserstack[bot]';
150150
}
151151
}
152152

0 commit comments

Comments
 (0)