Skip to content

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

Closed
neilime wants to merge 1 commit intopeter-evans:mainfrom
neilime:refactor/create-pull-request
Closed

refactor(create-pull-request): extract methods to adhere to SRP and enhance maintainability#3773
neilime wants to merge 1 commit intopeter-evans:mainfrom
neilime:refactor/create-pull-request

Conversation

@neilime
Copy link
Copy Markdown

@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
Copy link
Copy Markdown
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>
@peter-evans
Copy link
Copy Markdown
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