Not possible to run Cypress tests without exposing record key

オープン
#796 コメント 17 件 リアクション 0 件 担当者 1 名 GitHub で見る

メンテナーはふだん 1 日以内に返信

@rockhold がすでに取り組んでいます。

2023年5月26日 から。

評価

この issue はまだ評価されていません。

説明

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?

主要言語
JavaScript
スター
1.5k
フォーク
356
平均マージ
1日 9時間
マージ済み PR(30日)
28

環境構築

はじめの一歩

  1. issue を最後まで読み、次にプロジェクトのコントリビューションガイドを読みます。
  2. 着手することを issue にコメントします — 二人が同じ作業をするのを防げます。
  3. リポジトリをフォークし、ブランチを切って変更します。
  4. issue 番号を参照したプルリクエストを送ります。

cypress-io/github-action のほかの issue

cypress-io/github-action の issue をすべて見る

似ている issue

JavaScript の issue をもっと見る

新しい issue をメールで受け取る

初心者向けの GitHub issue を短くまとめたダイジェスト。