Skip to content

Commit

Permalink
Updated documentation.
Browse files Browse the repository at this point in the history
  • Loading branch information
jitran committed Jan 16, 2025
1 parent 77bcf3e commit 18c44cf
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -128,7 +128,7 @@ For branch protection rules and rulesets, you can allow for status checks to be

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

To configure this for branch protection rules, specifiy `{{EXTERNALLY_DEFINED}}` under the `contexts` keyword:
To configure this for branch protection rules, specify `{{EXTERNALLY_DEFINED}}` under the `contexts` keyword:
```yaml
branches:
- name: main
Expand Down
4 changes: 2 additions & 2 deletions lib/plugins/overrides.js
Original file line number Diff line number Diff line change
Expand Up @@ -21,8 +21,8 @@ module.exports = class Overrides extends ErrorStash {
// When {{EXTERNALLY_DEFINED}} is found in the override value, retain the
// existing value from GitHub.
// Note:
// - The admin settings could define multiple overrides, but the GitHub API
// retains one only.
// - The admin settings could define multiple status check rules for a
// ruleset, but the GitHub API retains one only, i.e. the last one.
// - The PUT method for rulesets (update) allows for multiple overrides.
// - The POST method for rulesets (create) allows for one override only.
static removeOverrides (overrides, source, existing) {
Expand Down

0 comments on commit 18c44cf

Please sign in to comment.