hydrate-reminder icon indicating copy to clipboard operation
hydrate-reminder copied to clipboard

Add new automation to populate the milestone field of pull requests

Open jmakhack opened this issue 1 year ago • 5 comments

Task Context

Currently, the milestone field of each pull request has to get manually set. It would be very helpful to have some form of automation that does this to save unnecessary time and effort.

Acceptance Criteria / Goals

The goal of this task is to have automation that performs the following:

  • Automatically sets the milestone of an opened pull request to the same milestone of the first mentioned issue in the pull request description
  • If no milestone is mentioned in the description, it should set the milestone field to Ongoing

This automation will most likely come in the form of a new GitHub action. Some research may need to be done to determine how much of the above is possible and what needs to be done. There may be an existing action that handles this or not.

Additional Notes

Please refer to CONTRIBUTING.md for info on how to setup, build, run, and test this project.

jmakhack avatar Oct 16 '22 11:10 jmakhack

Hey @jmakhack , let me know if this is up for grab, I will like to work on it.

rishu1601 avatar Oct 19 '22 07:10 rishu1601

Go for it @rishu1601

jmakhack avatar Oct 19 '22 07:10 jmakhack

Hey @jmakhack , I looked through various options/ developer APIs available, I think the best way to do this will be through a github app, If it's ok I will create a github app for the same.

rishu1601 avatar Oct 20 '22 17:10 rishu1601

Yeah sure, @rishu1601. That would be great! If that is too much trouble though, I'm also OK with just setting all pull request milestones to Ongoing.

jmakhack avatar Oct 20 '22 18:10 jmakhack

@rishu1601, just checking in. Are you still planning to work on this?

jmakhack avatar Nov 04 '22 08:11 jmakhack