| 1 |
((comment) @injection.content |
| 2 |
(#set! injection.language "comment")) |
| 3 |
|
| 4 |
(block_mapping_pair |
| 5 |
key: (flow_node) @_run (#any-of? @_run "script" "before_script" "after_script" "pre_get_sources_script" "command" "entrypoint") |
| 6 |
value: (flow_node |
| 7 |
(plain_scalar |
| 8 |
(string_scalar) @injection.content) |
| 9 |
(#set! injection.language "bash"))) |
| 10 |
|
| 11 |
(block_mapping_pair |
| 12 |
key: (flow_node) @_run (#any-of? @_run "script" "before_script" "after_script" "pre_get_sources_script" "command" "entrypoint") |
| 13 |
value: (block_node |
| 14 |
(block_scalar) @injection.content |
| 15 |
(#set! injection.language "bash"))) |
| 16 |
|
| 17 |
(block_mapping_pair |
| 18 |
key: (flow_node) @_run (#any-of? @_run "script" "before_script" "after_script" "pre_get_sources_script" "command" "entrypoint") |
| 19 |
value: (block_node |
| 20 |
(block_sequence |
| 21 |
(block_sequence_item |
| 22 |
(flow_node |
| 23 |
(plain_scalar |
| 24 |
(string_scalar) @injection.content)) |
| 25 |
(#set! injection.language "bash"))))) |
| 26 |
|
| 27 |
(block_mapping_pair |
| 28 |
key: (flow_node) @_run (#any-of? @_run "script" "before_script" "after_script" "pre_get_sources_script" "command" "entrypoint") |
| 29 |
value: (block_node |
| 30 |
(block_sequence |
| 31 |
(block_sequence_item |
| 32 |
(block_node |
| 33 |
(block_scalar) @injection.content |
| 34 |
(#set! injection.language "bash")))))) |
| 35 |
|
| 36 |
|
| 37 |
|
| 38 |
|
| 39 |
|
| 40 |
|
| 41 |
|
| 42 |
(block_mapping_pair |
| 43 |
key: (flow_node) @_run (#any-of? @_run "command" "entrypoint") |
| 44 |
value: (flow_node |
| 45 |
(flow_sequence |
| 46 |
(flow_node |
| 47 |
[ |
| 48 |
(double_quote_scalar) |
| 49 |
(single_quote_scalar) |
| 50 |
] @injection.content))) |
| 51 |
(#set! injection.language "bash")) |
| 52 |
|
| 53 |
|
| 54 |
|
| 55 |
|
| 56 |
|
| 57 |
|
| 58 |
|
| 59 |
|
| 60 |
|
| 61 |
|
| 62 |
|
| 63 |
|
| 64 |
(block_mapping_pair |
| 65 |
key: (flow_node) @_key (#any-of? @_key "regex" "coverage") |
| 66 |
value: (flow_node |
| 67 |
[ |
| 68 |
(single_quote_scalar) @injection.content |
| 69 |
(double_quote_scalar) @injection.content |
| 70 |
(plain_scalar (string_scalar) @injection.content) |
| 71 |
]) |
| 72 |
(#set! injection.language "regex")) |