File tree Expand file tree Collapse file tree 4 files changed +7
-9
lines changed Expand file tree Collapse file tree 4 files changed +7
-9
lines changed Original file line number Diff line number Diff line change @@ -20,7 +20,7 @@ inputs:
20
20
github-app :
21
21
description : ' BrowserStack Github App'
22
22
required : false
23
- default : ' browserstack-auth [bot]'
23
+ default : ' browserstack[bot]'
24
24
runs :
25
25
using : ' node20'
26
26
main : ' dist/index.js'
Original file line number Diff line number Diff line change @@ -16,7 +16,6 @@ module.exports = {
16
16
} ,
17
17
18
18
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' ,
21
20
} ,
22
21
} ;
Original file line number Diff line number Diff line change @@ -22,8 +22,7 @@ module.exports = {
22
22
},
23
23
24
24
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',
27
26
},
28
27
};
29
28
@@ -9621,13 +9620,13 @@ class InputValidator {
9621
9620
* @throws {Error} If the input is not a valid non-empty string
9622
9621
*/
9623
9622
static validateGithubAppName(githubAppName) {
9624
- if (githubAppName && githubAppName.toLowerCase() !== 'browserstack-auth [bot]') {
9623
+ if (githubAppName && githubAppName.toLowerCase() !== 'browserstack[bot]') {
9625
9624
if (typeof githubAppName === 'string' && githubAppName.trim().length > 0) {
9626
9625
return githubAppName;
9627
9626
}
9628
9627
throw new Error("Invalid input for 'github-app'. Must be a valid string.");
9629
9628
}
9630
- return 'browserstack-auth [bot]';
9629
+ return 'browserstack[bot]';
9631
9630
}
9632
9631
}
9633
9632
Original file line number Diff line number Diff line change @@ -140,13 +140,13 @@ class InputValidator {
140
140
* @throws {Error } If the input is not a valid non-empty string
141
141
*/
142
142
static validateGithubAppName ( githubAppName ) {
143
- if ( githubAppName && githubAppName . toLowerCase ( ) !== 'browserstack-auth [bot]' ) {
143
+ if ( githubAppName && githubAppName . toLowerCase ( ) !== 'browserstack[bot]' ) {
144
144
if ( typeof githubAppName === 'string' && githubAppName . trim ( ) . length > 0 ) {
145
145
return githubAppName ;
146
146
}
147
147
throw new Error ( "Invalid input for 'github-app'. Must be a valid string." ) ;
148
148
}
149
- return 'browserstack-auth [bot]' ;
149
+ return 'browserstack[bot]' ;
150
150
}
151
151
}
152
152
You can’t perform that action at this time.
0 commit comments