There was an error while loading. Please reload this page.
1 parent d65b21a commit d1f4d01Copy full SHA for d1f4d01
1 file changed
README.md
@@ -20,3 +20,10 @@ ruleset](https://docs.github.com/en/repositories/configuring-branches-and-merges
20
at the organization level. This is not done automatically. When adding a new workflow, be sure to
21
also update the corresponding ruleset
22
[here](https://github.com/organizations/enterprise-contract/settings/rules).
23
+
24
+An existing ruleset may prevent direct pushes to the default branch, e.g. `main`, for a variety of
25
+reasons. Although pushing a commit directly to `main` is not recommended, certain occasions require
26
+it. For example, it is not possible to create a pull request targeting a brand-new empty repository.
27
+In such cases, add a temporary exception target for the corresponding ruleset. Remember to revert
28
+this change. Alternatively, avoid creating empty repositories altogether by always choosing to
29
+include a license.
0 commit comments