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

[Feat] Add --create-issue character limit check #491

Open
wants to merge 10 commits into
base: master
Choose a base branch
from

Conversation

bombillazo
Copy link

Fixes #328

This change adds a limit to the message sent to the GitHub create issue URL to avoid URL too long errors.

If the diff contents exceed 300 characters (this was chosen arbitrarily), the diff contents are replaced with a comment message replacement, and the console outputs the complete PR diff contents and instructs the user to copy/paste the diff into the PR description manually.

(The old PR was closed automatically when I merged the OG repo into the forked repo)

@bombillazo
Copy link
Author

Hey @ds300 , a PR review would be appreciated :)

@bombillazo
Copy link
Author

Hey @ds300 , any update on this feature?

@bombillazo
Copy link
Author

bombillazo commented May 17, 2024

Hey @ds300, are there any other maintainers who could take a look? Communication seems to have been suddenly cut off. Are you still present?

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.

Using --create-issue result in bad request.
1 participant