cypress-io / cypress

Fast, easy and reliable testing for anything that runs in a browser.
https://cypress.io
MIT License
46.66k stars 3.16k forks source link

Extend CONTRIBUTING for actions after PR submission #29671

Closed MikeMcC399 closed 1 month ago

MikeMcC399 commented 2 months ago

What would you like?

In CONTRIBUTING > Pull Requests describe what an external contributor should do (or not do) after submitting a PR.

Should everything be left to the Cypress.io team and actions only be taken by an external PR submitter when explicitly requested by the Cypress.io team or should some conditions be resolved by the submitter pro-actively?

Why is this needed?

The document CONTRIBUTING > Pull Requests section does not describe what an external contributor should do after submitting a PR.

Other

jennifer-shehane commented 2 months ago

@MikeMcC399

MikeMcC399 commented 2 months ago

@jennifer-shehane

Thank you for the summary of responsibilities. To fit into the scheme of the current text CONTRIBUTING > Pull Requests this would need translating into what to do, from the viewpoint of an external contributor.

I will make a proposal for this based on your input.

MikeMcC399 commented 1 month ago

@jennifer-shehane

Are you able to give general guidance to external PR contributors about whether to click on "Update branch" or not if there are no conflicts shown?

Should this be left to the Cypress.io team or should the contributor attempt to keep a pending PR updated with the master branch?

image

If an external contributor updates a PR branch it triggers a CircleCI workflow linux-x64-contributor which has a partial block contributor-pr. This requires manual permission each time and this is something that the external contributor cannot give.

jennifer-shehane commented 1 month ago

It's fine as long as it's not too frequent I think. Sometimes I approve the PR to run, then go to do other things, come back an hour later - the contributor pulled down develop, so I approve again, go to do other things, come back an hour later - the contributor pulled down develop, so I approve again, repeat. This is the situation that'd be nice to avoid.

MikeMcC399 commented 1 month ago

@jennifer-shehane

Thanks for providing the additional background and your perspective. I think I can now write something to that effect.