Skip to content

Commit 46f0c85

Browse files
authored
Merge pull request #42 from browserstack/O11y-Rerun
O11y rerun
2 parents 091a1cf + cf89bb7 commit 46f0c85

File tree

12 files changed

+10965
-2037
lines changed

12 files changed

+10965
-2037
lines changed

setup-env/action.yml

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -13,6 +13,14 @@ inputs:
1313
project-name:
1414
description: 'Project name for the tests'
1515
required: false
16+
github-token:
17+
description: 'GitHub Token for authentication'
18+
required: false
19+
default: 'none'
20+
github-app:
21+
description: 'BrowserStack Github App'
22+
required: false
23+
default: 'browserstack[bot]'
1624
runs:
1725
using: 'node20'
1826
main: 'dist/index.js'

setup-env/config/constants.js

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -4,6 +4,8 @@ module.exports = {
44
ACCESS_KEY: 'access-key',
55
BUILD_NAME: 'build-name',
66
PROJECT_NAME: 'project-name',
7+
GITHUB_TOKEN: 'github-token',
8+
GITHUB_APP: 'github-app',
79
},
810

911
ENV_VARS: {
@@ -12,4 +14,8 @@ module.exports = {
1214
BROWSERSTACK_BUILD_NAME: 'BROWSERSTACK_BUILD_NAME',
1315
BROWSERSTACK_PROJECT_NAME: 'BROWSERSTACK_PROJECT_NAME',
1416
},
17+
18+
BROWSERSTACK_INTEGRATIONS: {
19+
DETAILS_API_URL: 'https://integrate.browserstack.com/api/ci-tools/v1/builds/{runId}/rebuild/details?tool=github-actions&as_bot=true',
20+
},
1521
};

0 commit comments

Comments
 (0)