Skip to content

Run build.yml and cypress.yml on all PR commits #778

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

Merged
merged 1 commit into from
Oct 12, 2023

Conversation

estellecomment
Copy link
Contributor

@estellecomment estellecomment commented Oct 12, 2023

This looks like the less shitty option.
Run the two jobs for all commits, and then add "if: github.event.pull_request.draft == false/true" to filter which of the two should run.
When you change the status of the PR from draft to non-draft (or non-draft to draft), just close and reopen the PR to have the other job run.
Hopefully this is the last PR I do on this.

The previous trigger "pull_request: types: [ready_for_review]" didn't work because it ran ONLY when the status changed to ready for review.

@estellecomment estellecomment marked this pull request as ready for review October 12, 2023 08:24
@estellecomment estellecomment changed the title Run build.yml on all PR commits Run build.yml and cypress.yml on all PR commits Oct 12, 2023
@estellecomment
Copy link
Contributor Author

Merging without review, to see if it works.

@estellecomment estellecomment merged commit ad8d115 into develop_tchap Oct 12, 2023
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