bdebon / choiceof.dev

Developers have to cope with pretty hard choices every day. This is a collection of the most complex and funny choices. What will be yours?
https://choiceof.dev
GNU General Public License v3.0
473 stars 93 forks source link

Adding a github action that checks the PR title and updating PR template #124

Open bdebon opened 1 year ago

bdebon commented 1 year ago

I would like that people that add question adds them following this format:

feat(question): left choice or right choice

And I would like that people adds only one question by PR. It makes the review easier and also sometimes one question is good the other no. I don't necessarily want to merge both.

Optional: When I add the label new question to a PR I would like another github action is done to see if the PR title follow the above format.

GerfautGE commented 1 year ago

How does an action detect if the PR is related to a new question or feature?

hexadeciman commented 1 year ago

I'm not sure if that one is possible using github actions. Not sure it's worth the effort.

I think we should simply add to the template of PRs message,

Applicable if you're submitting a new question: