Skip to content

Commit c8926b8

Browse files
committed
Updated documentation.
1 parent 4731148 commit c8926b8

File tree

2 files changed

+3
-3
lines changed

2 files changed

+3
-3
lines changed

README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -128,7 +128,7 @@ For branch protection rules and rulesets, you can allow for status checks to be
128128

129129
This can be defined at the org, sub-org, and repo level.
130130

131-
To configure this for branch protection rules, specifiy `{{EXTERNALLY_DEFINED}}` under the `contexts` keyword:
131+
To configure this for branch protection rules, specify `{{EXTERNALLY_DEFINED}}` under the `contexts` keyword:
132132
```yaml
133133
branches:
134134
- name: main

lib/plugins/overrides.js

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -21,8 +21,8 @@ module.exports = class Overrides extends ErrorStash {
2121
// When {{EXTERNALLY_DEFINED}} is found in the override value, retain the
2222
// existing value from GitHub.
2323
// Note:
24-
// - The admin settings could define multiple overrides, but the GitHub API
25-
// retains one only.
24+
// - The admin settings could define multiple status check rules for a
25+
// ruleset, but the GitHub API retains one only, i.e. the last one.
2626
// - The PUT method for rulesets (update) allows for multiple overrides.
2727
// - The POST method for rulesets (create) allows for one override only.
2828
static removeOverrides (overrides, source, existing) {

0 commit comments

Comments
 (0)