Skip to content

Commit

Permalink
ReRun functionality Support
Browse files Browse the repository at this point in the history
  • Loading branch information
darpanLalwani committed Sep 20, 2024
1 parent 091a1cf commit d70cd95
Show file tree
Hide file tree
Showing 8 changed files with 10,683 additions and 2,001 deletions.
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-auth[bot]'
runs:
using: 'node20'
main: 'dist/index.js'
7 changes: 7 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,9 @@ 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',
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',
},
};
Loading

0 comments on commit d70cd95

Please sign in to comment.