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

refactor(create-pull-request): extract methods to adhere to SRP and enhance maintainability #3773

Closed

Conversation

neilime
Copy link

@neilime neilime commented Feb 26, 2025

This is a pull request to propose some refactoring on main method "create-pull-request", in order to make it more readable and I hope maintainable.

There is no behavior change

Mostly, split in smaller dedicated methods and improving some typing

@neilime neilime force-pushed the refactor/create-pull-request branch from 5143328 to da48860 Compare March 4, 2025 06:25
@neilime
Copy link
Author

neilime commented Mar 4, 2025

@peter-evans do you need anything to help review /merging this PR? Do not hesitate to let me know.

…nhance maintainability

Signed-off-by: Emilien Escalle <emilien.escalle@escemi.com>
@neilime neilime force-pushed the refactor/create-pull-request branch from da48860 to 9d92b03 Compare March 4, 2025 10:49
@peter-evans
Copy link
Owner

peter-evans commented Mar 7, 2025

Hi @neilime

I really appreciate the effort to contribute, thank you. However, I don't feel this is necessary at the moment. Perhaps it could do with a refactor, but since I have to maintain this code I would rather do it myself so I know what I've done. 😄

@peter-evans peter-evans closed this Mar 7, 2025
@neilime neilime deleted the refactor/create-pull-request branch March 7, 2025 23:59
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.

2 participants