From b564a7e45015d5ad9ee8dfb2868fe3cdfb5f9d53 Mon Sep 17 00:00:00 2001 From: "copilot-swe-agent[bot]" <198982749+Copilot@users.noreply.github.com> Date: Tue, 14 Apr 2026 12:26:09 +0000 Subject: [PATCH 1/2] Initial plan From fc76b3d170fcf7f81f3e2495034284bc186a29af Mon Sep 17 00:00:00 2001 From: "copilot-swe-agent[bot]" <198982749+Copilot@users.noreply.github.com> Date: Tue, 14 Apr 2026 12:28:54 +0000 Subject: [PATCH 2/2] test: add branch single-quote escaping assertion to pipeline resources test Agent-Logs-Url: https://github.com/githubnext/ado-aw/sessions/7f2f137a-e8e6-47b2-ade6-1f7a23e6f5dc Co-authored-by: jamesadevine <4742697+jamesadevine@users.noreply.github.com> --- src/compile/common.rs | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/src/compile/common.rs b/src/compile/common.rs index 3ad0d9f..b6fec6c 100644 --- a/src/compile/common.rs +++ b/src/compile/common.rs @@ -2348,11 +2348,12 @@ mod tests { pipeline: Some(crate::compile::types::PipelineTrigger { name: "Build's Pipeline".to_string(), project: Some("My'Project".to_string()), - branches: vec!["main".to_string()], + branches: vec!["main".to_string(), "it's-branch".to_string()], }), }); let result = generate_pipeline_resources(&triggers).unwrap(); assert!(result.contains("source: 'Build''s Pipeline'")); assert!(result.contains("project: 'My''Project'")); + assert!(result.contains("- 'it''s-branch'")); } }