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

Scan for open tickboxes in PR #152

Open
jessevdp opened this issue Nov 29, 2018 · 7 comments
Open

Scan for open tickboxes in PR #152

jessevdp opened this issue Nov 29, 2018 · 7 comments

Comments

@jessevdp
Copy link

jessevdp commented Nov 29, 2018

In my workflow I like to add tickboxes to PR descriptions to indicate items that need to be completed before a PR can be merged, or even reviewed. I imagine many other people have a similar workflow.

Scanning for open tickboxes would technically be possible on a pro-plan (I haven't tested this) by scanning for the litteral string - [ ] in the PR description. (You can set phrases and location right?) However it might be cool and useful to allow users to just enable this without this workaround.

Just thought I'd drop this here. 👍

@jessevdp
Copy link
Author

Example

To do before merging 📝

  • Update docs
  • Etc.

@gr2m
Copy link
Collaborator

gr2m commented Nov 29, 2018

Hoi Jesse! I had the very same idea the other day!

Scanning for open tickboxes would technically be possible on a pro-plan (I haven't tested this) by scanning for the litteral string - [ ] in the PR description. (You can set phrases and location right?)

Yes, you can set phrases and location, but you cannot set location to look in the pull request body yet.

However it might be cool and useful to allow users to just enable this without this workaround.

I want to keep the free version intentionally simple, but happy to add "body" as a valid location value. So it would require the pro version but hey it’s just $1/month and I’ll donate all the revenue to RGSoC. Plus if you cannot pay for some reason, you can always add your account or org here: https://github.com/wip/app/blob/master/pro-plan-for-free.js

One thing that might be helpful that is documented yet is the ability to configure your WIP installation once for all repositories. Create a .github repository and in that repository, create a .github/wip.yml file.

Pull request welcome :)

@gr2m
Copy link
Collaborator

gr2m commented May 31, 2019

Hey Jesse, are you still interested in adding the support for the checkboxes?

I’m considering working on it

@gr2m gr2m mentioned this issue May 31, 2019
@jessevdp
Copy link
Author

jessevdp commented Jun 1, 2019

Hi. I looked at this one afternoon after I submitted this issue. But I couldn’t quickly make sense of where to add this. (Messing with someone elses code base always requires some time to read in to it...)

Anyway. Ive been SUPER busy with school since then. And I will be for a while longer.

@gr2m
Copy link
Collaborator

gr2m commented Jun 2, 2019

I can look into it myself, I was just curious if you were still interested in the feature, and if others are

@jessevdp
Copy link
Author

jessevdp commented Jun 3, 2019

I definitely am. Since GitHub implemented draft PR's which offer a lot of the same functionality, this would be a great feature to go beyond what is natively offered already. And one that I actually see the use of in my current workflow. (Basically every PR template that I create has a TODO actions section.)

While I am on the subject. I do think this bot has a few advantages (at least differences) over the draft PR feature. 1) You can re-mark a PR as a draft by adding the (WIP) annotation again. 2) Other bots actually run while the PR is WIP, allowing you to see the results at an early stage. Not sure if that is really needed for anyones workflow, but I kind of like it.)

@synr760

This comment was marked as spam.

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

No branches or pull requests

3 participants