Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

feat(runs_on): permit using array of string to select specific runner #1740

Merged
Prev Previous commit
fix: update JSON Schema of tfaction-root.yaml to use anyOf for runs_on
  • Loading branch information
suzuki-shunsuke committed Jul 18, 2024
commit 7290811a4c4481dc2f16f68d19e5cb4f8f85e890
12 changes: 11 additions & 1 deletion schema/tfaction-root.json
Original file line number Diff line number Diff line change
Expand Up @@ -412,7 +412,17 @@
"description": "environment variables"
},
"RunsOn": {
"type": ["string", "array"],
"anyOf": [
{
"type": "string"
},
{
"type": "array",
"items": {
"type": "string"
}
}
],
"description": "The type of runner that the job will run on"
}
}
Expand Down