Not possible to run Cypress tests without exposing record key

Abierto
#796 17 comentarios 0 reacciones 1 asignado Ver en GitHub

Los mantenedores suelen responder en 1 día

@rockhold ya está trabajando en esto.

Desde el 26/5/2023.

Evaluación

Este issue todavía no se ha evaluado.

Descripción

Cypress Cloud triaged type: feature

Hi. We're using the Cypress Dashboard for our product and we're having a hard time running the tests without exposing the record key. Currently we have hard-coded it in our workflow, which makes it publicly available (less than ideal for obvious reasons).

We're following the recommendation as outlined in the documentation to use the push event to trigger runs of Cypress. This is problematic for a couple of reasons when opening a PR from a fork:

  1. The workflow is now triggered only on the repository of the forked repository.
  2. Because the workflow on the forked repository does not have access to this secret all jobs fail.

What is the recommend way to resolve this?

Lenguaje dominante
JavaScript
Estrellas
1.5k
Forks
356
Merge medio
1 d 9 h
PR fusionados (30 d)
28

Preparar el entorno

Primeros pasos

  1. Lee el issue completo y luego la guía de contribución del proyecto.
  2. Comenta en el issue que vas a ocuparte — evita que dos personas hagan lo mismo.
  3. Haz un fork del repositorio y trabaja en una rama.
  4. Abre un pull request que haga referencia al número del issue.

Más de cypress-io/github-action

Todos los issues de cypress-io/github-action

Issues similares

Más issues de JavaScript

Recibe los nuevos issues en tu correo

Un resumen breve de issues de GitHub para principiantes.