fix: dispatcher.sh: handle direct-commit low-tier vault actions (#439)
This commit is contained in:
parent
16c917bdf2
commit
605fc136ae
3 changed files with 44 additions and 8 deletions
|
|
@ -73,7 +73,7 @@ validate_vault_action() {
|
|||
local unknown_fields
|
||||
unknown_fields=$(echo "$toml_content" | grep -E '^[a-zA-Z_][a-zA-Z0-9_]*\s*=' | sed -E 's/^([a-zA-Z_][a-zA-Z0-9_]*)\s*=.*/\1/' | sort -u | while read -r field; do
|
||||
case "$field" in
|
||||
id|formula|context|secrets|model|tools|timeout_minutes) ;;
|
||||
id|formula|context|secrets|model|tools|timeout_minutes|dispatch_mode) ;;
|
||||
*) echo "$field" ;;
|
||||
esac
|
||||
done)
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue