From 2c2f2b060dbb1c708d975c4a7e811ea980abe95e Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Kristoffer=20Plagborg=20Bak=20S=C3=B8rensen?= <57013304+kpbaks@users.noreply.github.com> Date: Mon, 17 Nov 2025 16:57:41 +0100 Subject: [PATCH] Inject `regex` into `.*.coverage:` value for jobs in `gitlab-ci` lang (#14803) --- runtime/queries/gitlab-ci/injections.scm | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/runtime/queries/gitlab-ci/injections.scm b/runtime/queries/gitlab-ci/injections.scm index 707392cf..a68a650e 100644 --- a/runtime/queries/gitlab-ci/injections.scm +++ b/runtime/queries/gitlab-ci/injections.scm @@ -58,9 +58,11 @@ ; : ; regex: ; --- +; : +; coverage: ; ``` (block_mapping_pair - key: (flow_node) @_key (#eq? @_key "regex") + key: (flow_node) @_key (#any-of? @_key "regex" "coverage") value: (flow_node [ (single_quote_scalar) @injection.content -- 2.51.2