I have noticed a quite interesting GitHub feature which allows to protect
the specified branches. A short summary from :
A protected branch:
- Can't be force pushed
- Can't be deleted
- Can't have changes merged into it until required status checks pass
- Can't have changes merged into it until required reviews are approved
- Can't be edited or have files uploaded to it from the web
See  and  for more details.
AFAIK some developers use forks mainly because they are afraid of messing
the original repositories. With protected branches that should not happen.
Additionally it would strictly enforce PR reviews (we do that already
so I see no problem with that).
IMHO a nice feature, I'm just not sure which branches we could protect.
Obviously the old maintenance branches, I'm not sure about the "master"
branch, maybe it would be too strict.
What do you think about it? Should we use this GitHub feature?
We could use the agile approach, try it in a few selected repos and see
how it works...
SUSE LINUX, s.r.o.
18600 Praha 8
To unsubscribe, e-mail: yast-devel+unsubscr...@opensuse.org
To contact the owner, e-mail: yast-devel+ow...@opensuse.org