You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
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
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!
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.
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!
Auto generated PR's like this one #468 should be tagged with the label "no releasenotes".
The text was updated successfully, but these errors were encountered: