mirror of
https://github.com/go-task/task.git
synced 2026-07-09 06:55:14 +00:00
feat: add --trusted-hosts CLI and remote.trusted-hosts config for remote tasks (#2491)
Co-authored-by: Valentin Maerten <maerten.valentin@gmail.com>
This commit is contained in:
@@ -42,6 +42,13 @@
|
||||
"type": "string",
|
||||
"description": "Expiry duration for cached remote Taskfiles (e.g., '1h', '24h')",
|
||||
"pattern": "^[0-9]+(ns|us|µs|ms|s|m|h)$"
|
||||
},
|
||||
"trusted-hosts": {
|
||||
"type": "array",
|
||||
"description": "List of trusted hosts for remote Taskfiles (e.g., 'github.com', 'gitlab.com', 'example.com:8080').",
|
||||
"items": {
|
||||
"type": "string"
|
||||
}
|
||||
}
|
||||
},
|
||||
"additionalProperties": false
|
||||
|
||||
Reference in New Issue
Block a user