Extract step-uses into its own definition

This commit is contained in:
Christopher Schleiden
2023-03-06 11:38:25 -08:00
committed by Josh Gross
parent 41cdb46d23
commit 44948c7a92
+7 -2
View File
@@ -2044,8 +2044,7 @@
"continue-on-error": "step-continue-on-error",
"timeout-minutes": "step-timeout-minutes",
"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": "non-empty-string",
"type": "step-uses",
"required": true
},
"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": {
"context": [
"github",