Extract step-uses into its own definition

This commit is contained in:
Christopher Schleiden
2023-03-06 14:55:25 -05:00
committed by Josh Gross
parent 41cdb46d23
commit 44948c7a92
+7 -2
View File
@@ -2044,8 +2044,7 @@
"continue-on-error": "step-continue-on-error", "continue-on-error": "step-continue-on-error",
"timeout-minutes": "step-timeout-minutes", "timeout-minutes": "step-timeout-minutes",
"uses": { "uses": {
"description": "Selects an action to run as part of a step in your job. An action is a reusable unit of code. You can use an action defined in the same repository as the workflow, a public repository, or in a published Docker container image.", "type": "step-uses",
"type": "non-empty-string",
"required": true "required": true
}, },
"with": "step-with", "with": "step-with",
@@ -2053,6 +2052,12 @@
} }
} }
}, },
"step-uses": {
"description": "Selects an action to run as part of a step in your job. An action is a reusable unit of code. You can use an action defined in the same repository as the workflow, a public repository, or in a published Docker container image.",
"string": {
"require-non-empty": true
}
},
"step-continue-on-error": { "step-continue-on-error": {
"context": [ "context": [
"github", "github",