cms-sw / cms-bot

A few scripts to automate approval / testing process

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

"please close" for cmssw repo

kpedro88 opened this issue · comments

I noticed that https://github.com/cms-sw/cms-bot/blob/master/cmsdist_merge_permissions.py has an option "please close" to close a cmsdist PR. Could this be added for L1s/L2s to close CMSSW PRs as well?

A new Issue was created by @kpedro88 Kevin Pedro.

@davidlange6, @Dr15Jones, @smuzaffar, @fabiocos, @kpedro88 can you please review it and eventually sign/assign? Thanks.

cms-bot commands are listed here

@kpedro88, cmsdist_merge_permissions.py is for cmsdist comp developers so that they can merge/close cmsdist PR released to cmsdist comp_* branches.

But if we want this feature for cmssw then we can add 'please close' command to cms-bot

Yes, that is what I meant.

cms-bot now recognize 'please close' command from L1/L2 and release managers
http://cms-sw.github.io/cms-bot-cmssw-cmds.html

@smuzaffar this is additional on top of the native GitHub button, whose functionality is restricted, am I correct?

yes, "Close" button is only visible to those who have write/admin permission of the repo. This will allow L2's to also close PRs instead of waiting on one of administrators.