MicrosoftLearning / mslearn-mlops

This repository contains hands-on challenges for end-to-end machine learning operations (MLOps) with Azure Machine Learning.
https://microsoftlearning.github.io/mslearn-mlops/
13 stars 21 forks source link

Protected branches are available to Pro, Team, and Enterprise users #5

Closed eldarku closed 2 years ago

eldarku commented 2 years ago

I started to work on 03-trigger-workflow and stuck on this task:

Create a branch protection rule to block any direct pushes to the main branch.   GitHub says that “Protected branches are available to Pro, Team, and Enterprise users”: image

I checked if I can create a repo for this in https://repos.opensource.microsoft.com/orgs/microsofthackathons, and I see that the policy of using it is very specific: image image

So I am not sure that it is a good solution. So at the moment I don't really understand how to create a branch protection rule.

madiepev commented 2 years ago

@eldarku for these challenges, your repo has to be set to public in order to use all features available. Only if you have a private repo would you need to have a paid GitHub account. Setting the repo to public is also necessary for creating environments.