-
-
Notifications
You must be signed in to change notification settings - Fork 5.8k
chore(PR): Add Reviewed-on in commit message #9623
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
Conversation
Codecov Report
@@ Coverage Diff @@
## master #9623 +/- ##
=========================================
Coverage ? 42.18%
=========================================
Files ? 583
Lines ? 77253
Branches ? 0
=========================================
Hits ? 32589
Misses ? 40656
Partials ? 4008
Continue to review full report at Codecov.
|
Dont know if this is usefull - the pr number is already in the commit title |
|
I think I'd prefer The trouble with |
I take golang/go@edf3ec9 as reference |
Ah I had no idea they were using that. Have you been able to find a document that has all their tags? OK, I wonder if we should be putting the full url in there then or at least the reponame/username. which is what you're doing... |
Now sticking the full URL in could unintentionally expose private giteas. I guess this needs probably needs a config value. (yet another) I would guess options include: full URL, owner/reponame#1, owner/reponame!1, #1, !1, none? |
@zeripath If you can visit the codes or the pull, then you have know the private repository URL before the commit message tell you. I don't think it's a problem. If we put |
Unless it's a public mirror of a private repo from another instance. A full URL would not survive well a site migration, but a relative one will only work locally which is a boomer as well. |
It could be configurable on repository level (furthermore maybe add a commit template ?) but in the meantime the user can simply remove the text ? |
@sapk Yes. Users can simply remove the text before merging the PR. |
Make lg-tm work |
I don't think so but it could maybe be attached to #9823 to provide commit template for commit (update and merge) globally, by org/user or repo. |
Add
Reviewed-on
in the commit message.Screenshot: