Skip to content

Commit

Permalink
cfg: make status_rules optional
Browse files Browse the repository at this point in the history
  • Loading branch information
yasunariw committed Nov 22, 2021
1 parent bd2eaba commit 00852d8
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion documentation/config_docs.md
Original file line number Diff line number Diff line change
Expand Up @@ -32,7 +32,7 @@ Refer [here](https://docs.github.com/en/free-pro-team@latest/developers/webhooks
| `main_branch_name` | main branch used for the repo; filtering notifications about merges of main into other branches, and constraining prefix rule application | main branch related features disabled |
| `label_rules` | label rules config object | required field |
| `prefix_rules` | prefix rules config object | required field |
| `status_rules` | status rules config object | required field |
| `status_rules` | status rules config object | all status notifications are ignored |

## Label Options

Expand Down
2 changes: 1 addition & 1 deletion lib/config.atd
Original file line number Diff line number Diff line change
Expand Up @@ -27,7 +27,7 @@ type label_rules = {
type config = {
prefix_rules : prefix_rules;
label_rules : label_rules;
status_rules : status_rules;
~status_rules <ocaml default="{allowed_pipelines = Some []; rules = []}"> : status_rules;
?main_branch_name : string nullable; (* the name of the main branch; used to filter out notifications about merges of main branch into other branches *)
}

Expand Down

0 comments on commit 00852d8

Please sign in to comment.