Backport #29721 Updated to actions/labeler@v5 Updated labeler config accordingly, also improved the config and added more labels. Co-authored-by: Giteabot <teabot@gitea.io>
Implements https://github.com/GiteaBot/gitea-backporter/issues/93 using [`actions/labeler`](https://github.com/actions/labeler). Very basic configuration, can be extended later.