Skip to content

Archival and branch protection #18

@mwakok

Description

@mwakok

Hi @wmotion,

I see in the branch rules that all branches are by default protected and only accept new commits through pull requests. Was this setup chosen to ensure the branches remain available in the future? If not, what is the reason for this protection?

If so, I would like to propose a different setup as the current one introduces issues with using gitautopush. Currently, only members with admin rights would be able to push directly to a branch. Although almost everyone is currently an admin (not a smart setup), this setup would defeat its purpose in my opinion.

Instead of relying on branch protection, couldn't we make use of tags(/releases) for archival purposes? By adding a tag to the branch after the workshop (or even creating a release to create an easy-to-download zip-file) we can avoid the use of generic branch protection and in fact delete branches of previous workshops altogether. With a tag in place, you would always be able to restore a branch.

Let me know what you think

Metadata

Metadata

Assignees

Labels

questionFurther information is requested

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions