'Re-run Cypress test in Github Actions does not work

I have a cypress workflow in Github and it runs nicely. But, when the e2e tests fail for some reason and I want to re-run them using the re-run all jobs button (below), the following message appears:

enter image description here

The run you are attempting to access is already complete and will not accept new groups.

The existing run is: https://dashboard.cypress.io/projects/abcdef/runs

When a run finishes all of its groups, it waits for a configurable set of time before finally completing. You must add more groups during that time period.

The --tag flag you passed was: 
The --group flag you passed was: core

What should I change in my configuration to make these possible? Sometimes the e2e fails because of a backend error that is fixed later.

I'd like to do this instead of a force e2e commit.



Solution 1:[1]

I was facing the same issue before. I think you can try to pass GITHUB_TOKEN or add a custom build id. It fixed my issue. Hoep it helps. https://github.com/cypress-io/github-action#custom-build-id

Sources

This article follows the attribution requirements of Stack Overflow and is licensed under CC BY-SA 3.0.

Source: Stack Overflow

Solution Source
Solution 1 Carmen Luo