Working with GitHub and GitHub Actions
Multiple platforms such as GitHub, GitLab, and Bitbucket can provide code repository hosting solutions. GitLab is an open source project that can be also used to host our own GitLab server. Currently, GitHub and GitLab are the main market leaders. We shall be discussing GitHub in this book and will not be looking into GitLab; if you are using GitLab or any other platform, you can skip this section and move to the next section of the chapter.
Here are a few important features/settings/configurations we would like our readers to be aware of while working with GitHub:
- Always use Organization for projects that are not personal: GitHub provides an interface to create an organization, which will help in organizing all the repositories better.
- Enable 2FA for all users: A code base is one of the most sensitive components of an organization hence security measures should be the priority.
- Configure rulesets: Branch rulesets help to enforce...