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

Run precheck on addition of closing keyword #6

Open
wants to merge 17 commits into
base: development
Choose a base branch
from

Conversation

ishowvel
Copy link
Contributor

@ishowvel ishowvel commented Feb 4, 2025

Resolves #5, Resolves #4

@ishowvel
Copy link
Contributor Author

ishowvel commented Feb 4, 2025

qa ishowvel-org/.ubiquity-os#82

@ishowvel
Copy link
Contributor Author

ishowvel commented Feb 4, 2025

@0x4007 this pull request also fixes #4, can a single pull request be linked to multiple issues?

@0x4007
Copy link
Member

0x4007 commented Feb 4, 2025

@0x4007 this pull request also fixes #4, can a single pull request be linked to multiple issues?

Because it is a tiny <15 minute task I will allow for an exception but normally you'll need to cherry pick changes and make a new pull (this usually is pretty quick to do.)

@0x4007
Copy link
Member

0x4007 commented Feb 4, 2025

qa ishowvel-org/.ubiquity-os#82

Looks like it ran after converting to a draft which is wrong.

Reviewing again it seems that you did several events in quick succession. As I understand it ran because you edited the pull body to link it to the issue at the same time as turning it into a draft.

@whilefoo
Copy link
Member

whilefoo commented Feb 4, 2025

Reviewing again it seems that you did several events in quick succession. As I understand it ran because you edited the pull body to link it to the issue at the same time as turning it into a draft.

The plugin is the one which converted to a draft and left a review

@ishowvel
Copy link
Contributor Author

ishowvel commented Feb 4, 2025

qa ishowvel-org/.ubiquity-os#82

Looks like it ran after converting to a draft which is wrong.

Reviewing again it seems that you did several events in quick succession. As I understand it ran because you edited the pull body to link it to the issue at the same time as turning it into a draft.

The events that happened were
The pull request was opened with no issue linked to it and precheck was not ran
Pull body was edited to link an issue via closing keyword, precheck was ran which left a review and converted the pull request to draft

@0x4007 0x4007 requested a review from whilefoo February 4, 2025 19:21
@ishowvel
Copy link
Contributor Author

ishowvel commented Feb 4, 2025

@0x4007 this pull request also fixes #4, can a single pull request be linked to multiple issues?

Because it is a tiny <15 minute task I will allow for an exception but normally you'll need to cherry pick changes and make a new pull (this usually is pretty quick to do.)

It might become a bit too cluttered, I'll make a separate pull request and move changes from this pr to the new one tomorrow

@0x4007
Copy link
Member

0x4007 commented Feb 4, 2025

@0x4007 this pull request also fixes #4, can a single pull request be linked to multiple issues?

Because it is a tiny <15 minute task I will allow for an exception but normally you'll need to cherry pick changes and make a new pull (this usually is pretty quick to do.)

It might become a bit too cluttered, I'll make a separate pull request and move changes from this pr to the new one tomorrow

Its fine for this time you can leave as is.

src/handlers/closing-keyword.ts Outdated Show resolved Hide resolved
src/handlers/pull-reviewer.ts Outdated Show resolved Hide resolved
tests/main.test.ts Outdated Show resolved Hide resolved
@ishowvel ishowvel requested a review from whilefoo February 6, 2025 17:46
src/handlers/closing-keyword.ts Outdated Show resolved Hide resolved
@ishowvel ishowvel requested a review from whilefoo February 8, 2025 08:54
@whilefoo
Copy link
Member

whilefoo commented Feb 8, 2025

Please show QA

@ishowvel
Copy link
Contributor Author

ishowvel commented Feb 9, 2025

manifest.json Show resolved Hide resolved
@ishowvel ishowvel requested review from whilefoo and 0x4007 February 9, 2025 13:46
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.

Always run when pull opened Precheck execution should not throw this error
4 participants