diff options
| author | Stephan Seitz <stephan.seitz@fau.de> | 2022-02-04 21:30:50 +0100 |
|---|---|---|
| committer | Stephan Seitz <stephan.seitz@fau.de> | 2022-02-05 18:25:35 +0100 |
| commit | 4d552d9fda92c8fb3972717e239c34cb64d98efb (patch) | |
| tree | 404f05d5709940ca4e4d015bb72cb4957b29bac6 /queries/yaml | |
| parent | 71cfcff51097011eb1cb0c3048c8a949d983b79e (diff) | |
injections(yaml): inject at command list for Gitlab script
Diffstat (limited to 'queries/yaml')
| -rw-r--r-- | queries/yaml/injections.scm | 8 |
1 files changed, 8 insertions, 0 deletions
diff --git a/queries/yaml/injections.scm b/queries/yaml/injections.scm index a5afd542..c2b5bf61 100644 --- a/queries/yaml/injections.scm +++ b/queries/yaml/injections.scm @@ -17,3 +17,11 @@ (block_sequence (block_sequence_item (flow_node) @bash)))) + +(block_mapping_pair + key: (flow_node) @_run (#any-of? @_run "script" "before_script" "after_script") + value: (block_node + (block_sequence + (block_sequence_item + (block_node + (block_scalar) @bash))))) |
