Skip to content

Commit a7c7d7a

Browse files
authored
Replace "master" branch example with "main"
1 parent 287c320 commit a7c7d7a

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

patterns/everything-as-code.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -19,7 +19,7 @@ Everything (including [infrastructure](../practices/cloud-services.md)) should b
1919
* All code is treated the same (e.g. application code, infrastructure code, test code, etc).
2020
* All code is [peer-reviewed](#code-review) and tested.
2121
* All code is version controlled.
22-
* The mainline branch (e.g. `master`) is protected: no force-pushes are allowed and code reviews, tests and any other automated checks must pass before pull/merge requests can be merged. Administrators should be subject to the same rules.
22+
* The mainline branch (e.g. `main`) is protected: no force-pushes are allowed and code reviews, tests and any other automated checks must pass before pull/merge requests can be merged. Administrators should be subject to the same rules.
2323
* In general, squash merges are preferred for cleaner history. This does rely on merges being small, as should be the practice in any case.
2424
* Code changes should be automatically checked for code quality using tools like [SonarQube](../tools/sonarqube.md) (as well as via IDE plugins).
2525
* Code should be automatically scanned for secrets or other sensitive data (see [security](../practices/security.md) for details)

0 commit comments

Comments
 (0)