Can LLMs Write CI? A Study on Automatic Generation of GitHub Actions Configurations
Not on the map. Why?
Abstract (arXiv)
Continuous Integration (CI) services, such as GitHub Actions, require developers to write YAML-based configurations, which can be tedious and error-prone. Despite the increasing use of Large Language Models (LLMs) to automate software engineering tasks, their ability to generate CI configurations remains underexplored. This paper presents a preliminary study evaluating six LLMs for generating GitHub Actions configurations from natural language descriptions. We assess three general-purpose foundation models (GPT-4o, Llama, and Gemma) and three code-pretrained models (GPT-4.1, Code Llama, and CodeGemma). We also introduce the first labeled dataset of its kind, constructed from GitHub Actions documentation, pairing descriptions with corresponding best-practice YAML configurations. Zero-shot prompting achieves up to 69% similarity with the ground truth, with only 3% perfect matches. Code-pretrained models slightly underperform compared to general-purpose ones in YAML-based CI tasks, revealing LLM limitations for CI configuration generation. Analyzing GPT-4o outputs reveals issues like missing or renamed steps, misinterpreted descriptions, and unnecessary additions that may affect structural and contextual correctness, indicating a gap between generation quality and the precision required for executable CI configurations. Our research offers insights for improving LLM alignment with configuration languages and guiding future efforts on CI automation and tooling support.
Key facts. Cited by 4 papers in the map (data through 7 Oct 2026). First posted on arXiv 23 Jul 2025.
Builds on
No reference list yet.
Built on by
Citing papers per year: 2026: 4.
4 papers.
- 2026What Breaks When LLMs Code? Characterizing Operational Safety Failures of Agentic Code Assistantscited by 3
- 2026LogSieve: Task-Aware CI Log Reduction for Sustainable LLM-Based Analysiscited by 1
- 2026SmartHomeSecure: Automated Detection and Repair of Smart Home Configuration Errors Using Large Language Modelscited by 0
- 2026Specifying and Maintaining Agentic Workflows: An Empirical Study of GitHub Agentic Workflowscited by 0
- 2026Specifying and Maintaining Agentic Workflows: An Empirical Study of GitHub Agentic Workflows23 Sep 2026
- 2026SmartHomeSecure: Automated Detection and Repair of Smart Home Configuration Errors Using Large Language Models7 Jul 2026
- 2026What Breaks When LLMs Code? Characterizing Operational Safety Failures of Agentic Code Assistants29 May 2026
- 2026LogSieve: Task-Aware CI Log Reduction for Sustainable LLM-Based Analysis28 Jan 2026