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

Add new automation to populate the milestone field of pull requests #361

Open
jmakhack opened this issue Oct 16, 2022 · 5 comments
Open
Labels
best practices Improve the health of the codebase hacktoberfest This issue qualifies for the hacktoberfest event help wanted Extra attention is needed research Some investigation/research work required up for grabs Any issue that is up for grabs
Milestone

Comments

@jmakhack
Copy link
Owner

jmakhack commented Oct 16, 2022

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 jmakhack added help wanted Extra attention is needed best practices Improve the health of the codebase hacktoberfest This issue qualifies for the hacktoberfest event research Some investigation/research work required up for grabs Any issue that is up for grabs labels Oct 16, 2022
@jmakhack jmakhack added this to the Ongoing milestone Oct 16, 2022
@rishu1601
Copy link

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

@jmakhack
Copy link
Owner Author

Go for it @rishu1601

@rishu1601
Copy link

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.

@jmakhack
Copy link
Owner Author

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
Copy link
Owner Author

jmakhack commented Nov 4, 2022

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

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
best practices Improve the health of the codebase hacktoberfest This issue qualifies for the hacktoberfest event help wanted Extra attention is needed research Some investigation/research work required up for grabs Any issue that is up for grabs
Projects
None yet
Development

No branches or pull requests

2 participants