Skip to content

Commit d473033

Browse files
committed
remove sha from status_rules regex matching options
1 parent d424206 commit d473033

File tree

3 files changed

+1
-3
lines changed

3 files changed

+1
-3
lines changed

documentation/config_docs.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -215,7 +215,7 @@ You can optionally provide a **status condition** to specify additional requirem
215215
```json
216216
{
217217
"match": {
218-
"field": "context" | "description" | "sha" | "target_url",
218+
"field": "context" | "description" | "target_url",
219219
"re": string // a regular expression
220220
}
221221
}

lib/rule.atd

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,6 @@
22
type comparable_field = [
33
| Context <json name="context">
44
| Description <json name="description">
5-
| Sha <json name="sha">
65
| Target_url <json name="target_url">
76
] <ocaml repr="classic">
87

lib/rule.ml

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,6 @@ module Status = struct
1010
let value_of_field = function
1111
| Context -> Some notification.context
1212
| Description -> notification.description
13-
| Sha -> Some notification.sha
1413
| Target_url -> notification.target_url
1514
in
1615
let rec match_condition = function

0 commit comments

Comments
 (0)