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
Each of the three example workflows for GitHub Actions demonstrates recording into Cypress Cloud. If a new user forks the repository and pushes any commit, then these workflows fail because the necessary projectId / Record Key combination is missing.
The repository is set up to use the Cypress Cloud project with projectId 4b7344 owned by the Cypress.io organization. The project has Public read access and can only be used to record with an associated Record Key, which is not made generally available.
Workaround 2 - Set up personal Cypress Cloud project
Follow the Cypress Cloud documentation to sign up, if you do not already have an account, or to sign in if you have an account.
Create a new project if one does not exist.
Access "Project settings" in Cypress Cloud and copy the Project ID into the file cypress.config.js in the master (default) branch of your fork of the repository. This replaces the projectId 4b7344.
Copy a Record Key also from "Project settings" into the Security settings of your GitHub fork, using "Secrets and variables" > "Actions", then "Secrets" for the "Record Key" as in the table below:
Issue
Each of the three example workflows for GitHub Actions demonstrates recording into Cypress Cloud. If a new user forks the repository and pushes any commit, then these workflows fail because the necessary projectId / Record Key combination is missing.
The repository is set up to use the Cypress Cloud project with projectId 4b7344 owned by the Cypress.io organization. The project has Public read access and can only be used to record with an associated Record Key, which is not made generally available.
The workflows affected are:
The workflows are each set up with
push
andworkflow_dispatch
events:Workarounds
Workaround 1 - Disable workflows
Refer to the GitHub documentation Disabling and enabling a workflow, individually disable each of the workflows:
Workaround 2 - Set up personal Cypress Cloud project
Follow the Cypress Cloud documentation to sign up, if you do not already have an account, or to sign in if you have an account.
Create a new project if one does not exist.
Access "Project settings" in Cypress Cloud and copy the Project ID into the file
cypress.config.js
in themaster
(default) branch of your fork of the repository. This replaces the projectId4b7344
.Copy a Record Key also from "Project settings" into the Security settings of your GitHub fork, using "Secrets and variables" > "Actions", then "Secrets" for the "Record Key" as in the table below:
Refer to the GitHub documentation
Related issues
The text was updated successfully, but these errors were encountered: