Skip to content

Auto generated pre-commit autoupdate PR's should be tagged with the label "no releasenotes" #469

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

Closed
drbenvincent opened this issue May 7, 2025 · 3 comments · Fixed by #471
Assignees
Labels
devops DevOps related good first issue Good for newcomers

Comments

@drbenvincent
Copy link
Collaborator

Auto generated PR's like this one #468 should be tagged with the label "no releasenotes".

@drbenvincent drbenvincent added good first issue Good for newcomers devops DevOps related labels May 7, 2025
@drbenvincent drbenvincent changed the title get auto generated Auto generated pre-commit autoupdate PR's should be tagged with the label "no releasenotes" May 7, 2025
@Sohaibameer204
Copy link
Contributor

Hi! I'd love to work on this issue.

I plan to add a GitHub Action that automatically labels PRs generated by pre-commit autoupdate with no releasenotes. I'll check for specific PR title patterns (like "Update pre-commit hooks") or bot users, depending on how the PRs are created.

Let me know if you have any preferences before I get started!

@drbenvincent
Copy link
Collaborator Author

Thanks @Sohaibameer204. I am still learning when it comes to GitHub actions, so don't have any specific ideas. My initial idea was to look what action this was being generated from and set the tag there, but it wasn't over clear to me where the pre-commit autoupdate was coming from.

@Sohaibameer204
Copy link
Contributor

Thanks @drbenvincent for the clarification! I looked into it and realized the label can be applied within the GitHub Actions workflow file itself. So I added a workflow under .github/workflows/ that checks if the PR title contains "pre-commit autoupdate" and then adds the auto-label label. Let me know if you'd prefer another approach!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
devops DevOps related good first issue Good for newcomers
Projects
None yet
Development

Successfully merging a pull request may close this issue.

2 participants