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

Only run Cypress on non-draft PRs #732

Merged
merged 3 commits into from
Oct 6, 2023

Conversation

estellecomment
Copy link
Contributor

The previous version of the file ran the cypress job when the PR changed state from draft to "ready to review". So it didn't run when the PR was created directly "ready for review".

This version should run when the state is "ready for review", regardless of how the PR got to that state !

@estellecomment
Copy link
Contributor Author

Fixed both jobs to use the two mechanisms : the trigger (ready_for_review and converted_to_draft) for when the PR status changes, and the if condition to filter whether or not the job is run.

Maybe this will work. Maybe not. That's life in the world of github actions.

Merging without review, in a mixed emotional state of hopeful fear.

@estellecomment estellecomment merged commit 303fafa into develop_tchap Oct 6, 2023
4 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant