You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: rageshake.sample.yaml
+3-5Lines changed: 3 additions & 5 deletions
Original file line number
Diff line number
Diff line change
@@ -13,11 +13,8 @@ listings_auth_pass: secret
13
13
allowed_app_names: []
14
14
15
15
# If any submission matches one of these rejection conditions, the submission is rejected.
16
-
# You can either match an 'app' name, with optional 'version' and 'label' or the 'usertext' submitted by the user when describing their issue.
17
-
#
18
-
# Adding an 'app' item will reject that app altogether, effectively acting as a blocklist for app in contrast to allowed_app_names. You can optionally add 'version' and 'label' to fine-tune the rejection condition
19
-
#
20
-
# 'usertext' is a regex to reject user descriptions with an optional 'reason' text to send to the client
16
+
# A condition is made by an union of optional fields: app, version, labels, user text. They all need to match for rejecting the rageshake
17
+
# It can also contain an optional reason to explain why this server is rejecting a user's submission.
21
18
rejection_conditions:
22
19
- app: my-app
23
20
version: "0.4.9"# if the submission has a Version which is exactly this value, reject the submission.
@@ -26,6 +23,7 @@ rejection_conditions:
26
23
- app: my-app
27
24
version: "0.4.9"
28
25
label: "nightly"# both label and Version must match for this condition to be true
26
+
reason: "this server does not accept rageshakes from nightlies"
29
27
- usertext: "(\\w{4}\\s){11}\\w{4}"# reject text containing possible recovery keys
30
28
reason: "it matches a recovery key and recovery keys are private"
0 commit comments