Decision Models for Definition-Driven GitHub Actions Workflow Smell Detection
Rohit Gheyi, Anderson Uchôa, Wesley Assunção, Francisco Sousa, Baldoino Fonseca, Márcio Ribeiro
Abstract
GitHub Actions workflows automate continuous integration and delivery (CI/CD), and workflow smells are recurring configuration patterns that may weaken security, hinder maintenance, or waste resources. Extending static analyzers to new smells requires encoding constructs, applicability conditions, and exceptions in detection rules. We investigate definition-driven detection, in which models assess workflows against reusable natural-language smell definitions, focusing on decision-oriented models that return scores for bounded questions. We compare them with generative models and a static analyzer, and examine their score reliability, repeatability, and robustness. We evaluate three decision-oriented and two generative configurations on 1,710 manually validated workflow-smell pairs covering 19 smells, 903 workflows, and 559 repositories. Effectiveness depends strongly on the decision policy: JEV 1.13 achieves 79.69% micro-F1 at threshold 0.5 and 85.43% with thresholds selected on separate repository folds, but global thresholds selected on the benchmark lower micro-F1 on a historical comparison set. Generative GPT-6 LUNA achieves comparable effectiveness on the pairs it classifies but leaves 247 unresolved. Repeatability does not ensure robustness: two decision models agree across three identical-input runs yet change more than 3% of their predictions after label-preserving transformations, despite nearly unchanged aggregate F1. On 46 reconstructed workflows, a static analyzer outperforms JEV 1.13 (87.8% versus 76.4% micro-F1). With a median latency of 0.675 seconds per workflow and about US$0.22 in API charges for the benchmark, JEV 1.13 makes frequent model-assisted checks operationally plausible, but deployment requires validated decision policies, and effectiveness on new criteria remains to be evaluated.
Create a lesson
Related papers
Missing Security-Fix Backporting for GitHub Actions Workflows
Shared title terminologycs.SEChengyan Ma, Jieke Shi, Ruidong Han et al.
Characterizing GitHub Security Actions Alerts For Web Application Tutorials
Shared title terminologycs.SEBhagya Chembakottu, Martin P. Robillard
Spec-Test Coverage Gap: Detecting Overspecified Tests in SWE-Bench-Style Benchmarks
Shared title terminologycs.SEAvi Aggarwal, Yiran Hu
Interrupt-Aware Static Detection of Deadlocks in Rust Operating Systems
Shared title terminologycs.SEYuzhi Li, Hongliang Tian, Chengjun Chen et al.
AEGIS: Evidence-Guided Set Decisions for Requirement-to-Code Traceability
Shared title terminologycs.SEZhiyao Wang, Yiming Peng, Munan Li et al.
The Defect Is in the Arithmetic Between the Files: Static Detection of Exactly-Once Violations in Payment Pipelines
Shared title terminologycs.SEAbhishek Sharma