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
Fixes#66
This is a BREAKING CHANGE!
We've found that specifying action name is best practice because it makes it easier to relate a failure back to which action failed.
This makes naming an action no longer optional.
Copy file name to clipboardExpand all lines: schema/merged.json
+4-7Lines changed: 4 additions & 7 deletions
Original file line number
Diff line number
Diff line change
@@ -114,7 +114,8 @@
114
114
"description": "An action is a single step used to check in a group. This is most commonly used to build a series of tasks for a system, like `ruby`, `python`, and databases.",
115
115
"type": "object",
116
116
"required": [
117
-
"check"
117
+
"check",
118
+
"name"
118
119
],
119
120
"properties": {
120
121
"check": {
@@ -142,12 +143,8 @@
142
143
"nullable": true
143
144
},
144
145
"name": {
145
-
"description": "Name of the \"action\". When not provided, it will be the index of the action within the group. This is used when reporting status to the users.",
146
-
"type": [
147
-
"string",
148
-
"null"
149
-
],
150
-
"nullable": true
146
+
"description": "Name of the \"action\" used when reporting status to the users.",
147
+
"type": "string"
151
148
},
152
149
"required": {
153
150
"description": "If false, the action is allowed to fail and let other actions in the group execute. Defaults to `true`.",
Copy file name to clipboardExpand all lines: schema/v1alpha.com.github.scope.ScopeDoctorGroup.json
+4-7Lines changed: 4 additions & 7 deletions
Original file line number
Diff line number
Diff line change
@@ -130,7 +130,8 @@
130
130
"description": "An action is a single step used to check in a group. This is most commonly used to build a series of tasks for a system, like `ruby`, `python`, and databases.",
131
131
"type": "object",
132
132
"required": [
133
-
"check"
133
+
"check",
134
+
"name"
134
135
],
135
136
"properties": {
136
137
"check": {
@@ -158,12 +159,8 @@
158
159
"nullable": true
159
160
},
160
161
"name": {
161
-
"description": "Name of the \"action\". When not provided, it will be the index of the action within the group. This is used when reporting status to the users.",
162
-
"type": [
163
-
"string",
164
-
"null"
165
-
],
166
-
"nullable": true
162
+
"description": "Name of the \"action\" used when reporting status to the users.",
163
+
"type": "string"
167
164
},
168
165
"required": {
169
166
"description": "If false, the action is allowed to fail and let other actions in the group execute. Defaults to `true`.",
Copy file name to clipboardExpand all lines: schema/v1alpha.com.github.scope.ScopeKnownError.json
+4-7Lines changed: 4 additions & 7 deletions
Original file line number
Diff line number
Diff line change
@@ -130,7 +130,8 @@
130
130
"description": "An action is a single step used to check in a group. This is most commonly used to build a series of tasks for a system, like `ruby`, `python`, and databases.",
131
131
"type": "object",
132
132
"required": [
133
-
"check"
133
+
"check",
134
+
"name"
134
135
],
135
136
"properties": {
136
137
"check": {
@@ -158,12 +159,8 @@
158
159
"nullable": true
159
160
},
160
161
"name": {
161
-
"description": "Name of the \"action\". When not provided, it will be the index of the action within the group. This is used when reporting status to the users.",
162
-
"type": [
163
-
"string",
164
-
"null"
165
-
],
166
-
"nullable": true
162
+
"description": "Name of the \"action\" used when reporting status to the users.",
163
+
"type": "string"
167
164
},
168
165
"required": {
169
166
"description": "If false, the action is allowed to fail and let other actions in the group execute. Defaults to `true`.",
Copy file name to clipboardExpand all lines: schema/v1alpha.com.github.scope.ScopeReportLocation.json
+4-7Lines changed: 4 additions & 7 deletions
Original file line number
Diff line number
Diff line change
@@ -130,7 +130,8 @@
130
130
"description": "An action is a single step used to check in a group. This is most commonly used to build a series of tasks for a system, like `ruby`, `python`, and databases.",
131
131
"type": "object",
132
132
"required": [
133
-
"check"
133
+
"check",
134
+
"name"
134
135
],
135
136
"properties": {
136
137
"check": {
@@ -158,12 +159,8 @@
158
159
"nullable": true
159
160
},
160
161
"name": {
161
-
"description": "Name of the \"action\". When not provided, it will be the index of the action within the group. This is used when reporting status to the users.",
162
-
"type": [
163
-
"string",
164
-
"null"
165
-
],
166
-
"nullable": true
162
+
"description": "Name of the \"action\" used when reporting status to the users.",
163
+
"type": "string"
167
164
},
168
165
"required": {
169
166
"description": "If false, the action is allowed to fail and let other actions in the group execute. Defaults to `true`.",
0 commit comments