Skip to content
Merged
Show file tree
Hide file tree
Changes from 6 commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
8 changes: 8 additions & 0 deletions setup-env/action.yml
Original file line number Diff line number Diff line change
Expand Up @@ -13,6 +13,14 @@ inputs:
project-name:
description: 'Project name for the tests'
required: false
github-token:
description: 'GitHub Token for authentication'
required: false
default: 'none'
github-app:
description: 'BrowserStack Github App'
required: false
default: 'browserstack[bot]'
runs:
using: 'node20'
main: 'dist/index.js'
6 changes: 6 additions & 0 deletions setup-env/config/constants.js
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,8 @@ module.exports = {
ACCESS_KEY: 'access-key',
BUILD_NAME: 'build-name',
PROJECT_NAME: 'project-name',
GITHUB_TOKEN: 'github-token',
GITHUB_APP: 'github-app',
},

ENV_VARS: {
Expand All @@ -12,4 +14,8 @@ module.exports = {
BROWSERSTACK_BUILD_NAME: 'BROWSERSTACK_BUILD_NAME',
BROWSERSTACK_PROJECT_NAME: 'BROWSERSTACK_PROJECT_NAME',
},

BROWSERSTACK_TEMPLATE: {
DETAILS_API_URL: 'https://integrate.browserstack.com/api/ci-tools/v1/builds/{runId}/rebuild/details?tool=github-actions&as_bot=true',
},
};
Loading