Closed eldarku closed 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.
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”:
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:
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.