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 Probot-Autolabeler bot to automate some PR labelings #100

Closed
biru-codeastromer opened this issue Feb 15, 2025 · 11 comments · Fixed by #101
Closed

Add Probot-Autolabeler bot to automate some PR labelings #100

biru-codeastromer opened this issue Feb 15, 2025 · 11 comments · Fixed by #101
Labels
enhancement New feature or request

Comments

@biru-codeastromer
Copy link
Contributor

biru-codeastromer commented Feb 15, 2025

What feature do you want to see added?

I would like to propose adding the Probot-Autolabeler to the stories repository. This bot is already in use in the jenkins.io repo to automatically label Pull Requests with tags such as documentation and enhancement, improving organization and streamlining the review process.

Implementing this in the stories repository could provide similar benefits by reducing manual labeling efforts and ensuring consistency across contributions.

Upstream changes

No response

Are You Interested

Yes !
Please let me know if this addition would be helpful or if there are any specific considerations to keep in mind. I’d be happy to assist with the configuration if needed.

@biru-codeastromer biru-codeastromer added the enhancement New feature or request label Feb 15, 2025
@biru-codeastromer
Copy link
Contributor Author

I think this gonna synchonize the PR with the issue more . As issues we manually add the labels and for them it will reflect in the PR's too .

Let me know if you are aligned with it .

@krisstern
Copy link
Member

Yes, I think we could add that bot to help with the triage flow

@krisstern
Copy link
Member

But on second thought after some investigation it would be hard to tell which pull requests are enhancements...

@krisstern
Copy link
Member

I have checked not even the config https://github.com/jenkins-infra/jenkins.io/blob/master/.github/autolabeler.yml for jenkins.io has one for enhancements.

@krisstern
Copy link
Member

Hi @biru-codeastromer would you be interested in submitting a pull request to add an "autolabeler.yml" file for adding the "documentation" tag first?

@biru-codeastromer
Copy link
Contributor Author

But on second thought after some investigation it would be hard to tell which pull requests are enhancements...

I think changes primarily made to files like .jsx ,.js, .css might come under enhancements.What you think about it ?

@biru-codeastromer
Copy link
Contributor Author

Hi @biru-codeastromer would you be interested in submitting a pull request to add an "autolabeler.yml" file for adding the "documentation" tag first?

Hi ,
Thank you for your feedback and for investigating the current configuration! I’d be happy to submit a pull request to add an autolabeler.yml file for adding the documentation tag as a starting point.

I’ll work on the configuration and ensure it aligns with the repository’s needs. Please let me know if there are any additional guidelines or specific file-path rules you’d like me to follow while setting it up.

@krisstern
Copy link
Member

Hi,
I think it would be better for you to do some research and come up with some config that will work for us rather than having me to tell you what to do, because then it would be better for me to open a pull request instead. So just go ahead and create the pull request first, and we can follow up and discuss there.

@biru-codeastromer
Copy link
Contributor Author

Thank you for the clarification! I’ll do some research to create a configuration that works for this repository and submit a pull request.

I’ll get started and share the PR soon. Thanks for your guidance!

@biru-codeastromer
Copy link
Contributor Author

Hi, I have raised a PR #101 for documentation labelling . Thanks !

@krisstern krisstern changed the title Add Probot-Autolabeler to Automate PR Labeling Add Probot-Autolabeler bot to automate some PR labelings Feb 15, 2025
@biru-codeastromer
Copy link
Contributor Author

Hi Kris! 👋
Thank you for reviewing and merging the changes. I appreciate your guidance!

As a follow-up, do you think it would be beneficial to include additional labels for automating the categorization of other types of changes, such as chore[for changes in Jenkinsfile,.github] etc ?
I’d love to hear your thoughts on whether expanding the configuration further would add value to the repository.
If not I would stop the discussion here .

Thanks again for your time! 😊

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

Successfully merging a pull request may close this issue.

2 participants