diff --git a/topics/04.security-best-practices/README.md b/topics/04.security-best-practices/README.md index 2acafe4..8b789db 100644 --- a/topics/04.security-best-practices/README.md +++ b/topics/04.security-best-practices/README.md @@ -56,8 +56,12 @@ Restricting permissions to edit workflows can help prevent unauthorized changes To restrict permissions to edit workflows you can create a [Repository Ruleset](https://docs.github.com/en/enterprise-cloud@latest/repositories/configuring-branches-and-merges-in-your-repository/managing-rulesets/about-rulesets) of the type [Push ruleset](https://docs.github.com/en/enterprise-cloud@latest/repositories/configuring-branches-and-merges-in-your-repository/managing-rulesets/about-rulesets#push-rulesets) and add a rule to restrict the `workflows` directory. +image + The organization owners can define who can bypass these rules. +image + ### Setting Scopes for Self-Hosted Runners Setting scopes for self-hosted runners can help limit the access of self-hosted runners to specific repositories or organizations.