Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

No way to manually provide pull_request information? #350

Closed
dclowd9901 opened this issue Apr 9, 2021 · 7 comments
Closed

No way to manually provide pull_request information? #350

dclowd9901 opened this issue Apr 9, 2021 · 7 comments

Comments

@dclowd9901
Copy link

Hi,

In our setup, we use workflow_dispatch to manually kick off our cypress runs. Because of this, the workflow dispatches are run without a pull_request or pull_request-like context. Because of this (I believe), our dashboard does not contain any PR information related to test runs. Is there a way to manually provide PR information to the Cypress github action so that we can associate those runs with their appropriate PRs?

@dclowd9901 dclowd9901 changed the title No way to manually provide pull_request information No way to manually provide pull_request information? Apr 9, 2021
@bahmutov
Copy link
Contributor

Great question, but running on workflow_dispatch ... does not have a pull request, right? So what would the PR info even be in this case?

@dclowd9901
Copy link
Author

dclowd9901 commented Apr 30, 2021 via email

@bahmutov
Copy link
Contributor

bahmutov commented Apr 30, 2021 via email

@dclowd9901
Copy link
Author

dclowd9901 commented Apr 30, 2021 via email

@Sporradik
Copy link

We would also really appreciate this feature and I'm curious if there is any update on this.

We are trying to do something similar using repository_dispatch, where we can provide a payload to configure a pull request number.

We have a prototype working where we use repository_dispatch trigger adding a label to a PR and then the label trigger kicks off cypress. However, this intermediate label step is quite slow and it would be nice to trigger cypress directly in a way that passes our required PR checks.

@MikeMcC399
Copy link
Collaborator

@dclowd9901
Copy link
Author

I’ve since moved to a position where we’re using Jenkins instead of GHA (groan), but thanks for moving this forward and out!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

4 participants