We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 6259a2d commit 7cd9e68Copy full SHA for 7cd9e68
1 file changed
api/specs/github.yaml
@@ -45,9 +45,13 @@ defaults:
45
backoff_base: 2
46
47
- action: break
48
- condition: response.status == 422
+ condition: response.status == 422
49
message: "stopping iteration due to code 422 (Unprocessable Content)"
50
51
+ - action: break
52
+ condition: contains(response.headers.content_type, "text/html")
53
+ message: "returned HTML content"
54
+
55
- action: "stop"
56
condition: response.status == 403 && request.attempts > 5
57
0 commit comments