< 152026-06-16⋎17 >

Topic for #farmOS is: farmOS (farmos.org) is a free and open source, web-based farm management system. User guide: farmos.org/guide/ - Forum: farmOS.discourse.groupSet by mstenta on 2021-06-15 at 12:52
15:14mstenta[m]Does anyone know if there's a way to prevent new branches from being pushed to a GitHub repo?
15:14mstenta[m]The branch protection rules seem to only pertain to existing branches.
15:14mstenta[m]It's possible to set the branch name to a wildcard (*) in a rule, but I tried a few different options and none of them prevented new branch creation.
15:15mstenta[m]Not critical... just trying to avoid accidentally pushing branches to origin that are intended to be pushed to a fork.
16:55symbioquine[m]Can't you just do this?:
16:55*uploaded an image: (239KiB) < matrix.org/oftc/media/v1/media/download/ >
16:56mstenta[m]Oh! Those are the new "ruleset" options...
16:57symbioquine[m]It's new to me too, but it looks like it should do what you want.
16:57mstenta[m]I was looking at the old "branch protection rules"
16:59mstenta[m]That worked!
17:00mstenta[m](Couldn't create a new branch anyway... Will see if it prevents pushing to an existing branch later... but probably good!)
17:00mstenta[m]Thanks!
17:00symbioquine[m]np

< 152026-06-16⋏17 >