You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
In Sempahore CI, on pull requests, Cypress Cloud test runs show up under the target branch.
Desired behavior
Test runs should show up as being run on the current branch.
Test code to reproduce
Cypress uses SEMAPHORE_GIT_BRANCH as the branch to report test runs. However, for a pull request this points to target branch. This is a problem, because we want the current branch.
Current behavior
In Sempahore CI, on pull requests, Cypress Cloud test runs show up under the target branch.
Desired behavior
Test runs should show up as being run on the current branch.
Test code to reproduce
Cypress uses
SEMAPHORE_GIT_BRANCH
as the branch to report test runs. However, for a pull request this points to target branch. This is a problem, because we want the current branch.cypress/packages/server/lib/util/ci_provider.js
Line 573 in a5b0cad
https://docs.semaphoreci.com/ci-cd-environment/environment-variables/#semaphore_git_branch
Cypress Version
12.8.1
Node version
16.13.0
Operating System
Ubuntu 20.04.6 LTS (Focal Fossa)
Debug Logs
No response
Other
No response
The text was updated successfully, but these errors were encountered: