quarkusio / quarkus-github-bot

A Quarkus-powered GitHub App to simplify issues and pull requests management in the Quarkus project.
Apache License 2.0
23 stars 25 forks source link

Comment issue and ping user if a label 'triage/backport*' is added to it #305

Closed nicolasgras closed 1 year ago

nicolasgras commented 1 year ago

This pull request resolves #303.

If a user add a label starting by triage/backport to an issue, then a comment is added to it saying it should not be done and notifying this user.

See example below

image

gsmet commented 1 year ago

Hey @NicolasGras , thanks for the pull request. I extracted your code to a specific CheckTriageBackportContext.java and made a few other minor historical cleanup as I was tired of us copying the bot comment again and again :).

I will merge and deploy this now!

gsmet commented 1 year ago

BTW, I would recommend you to check that the email you use in the commits is registered in your GitHub account as it looks as it GitHub cannot link your commit email to your account.

nicolasgras commented 1 year ago

BTW, I would recommend you to check that the email you use in the commits is registered in your GitHub account as it looks as it GitHub cannot link your commit email to your account.

Ok thanks for you comment, but I don't understand why you have noticed that. I have just checked my Github account, the email address I use in the commits is my primary email address I have in my Github account. I have used this email address since I commit some code in this repository, and I can see some commits linked to my Github account in history of this repo.