Not possible to run Cypress tests without exposing record key

Aperta
#796 17 commenti 0 reazioni 1 assegnatario Vedi su GitHub

I maintainer di solito rispondono entro 1 giorno

@rockhold ci sta già lavorando.

Dal 26/5/2023.

Valutazione

Questa issue non è ancora stata valutata.

Descrizione

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?

Lingua principale
JavaScript
Stelle
1.5k
Fork
356
Merge medio
1g 9h
PR unite (30g)
28

Preparare l'ambiente

Come iniziare

  1. Leggi tutta la issue e poi la guida ai contributi del progetto.
  2. Commenta sulla issue per dire che te ne occupi tu — evita che due persone facciano lo stesso lavoro.
  3. Fai un fork del repository e lavora su un branch.
  4. Apri una pull request che faccia riferimento al numero della issue.

Altre issue di cypress-io/github-action

Tutte le issue di cypress-io/github-action

Issue simili

Altre issue su JavaScript

Ricevi le nuove issue nella tua casella

Un breve riepilogo di issue GitHub adatte ai principianti.