kirancodes.me
To Proof Maintenance & Beyond!

Toward Automatically Completing GitHub Workflows

Antonio Mastropaolo, Fiorella Zampetti, Gabriele Bavota, Massimiliano Di Penta

Abstract

Continuous integration and delivery (CI/CD) are nowadays at the core of software development. Their benefits come at the cost of setting up and maintaining the CI/CD pipeline, which requires knowledge and skills often orthogonal to those entailed in other software-related tasks. While several recommender systems have been proposed to support developers across a variety of tasks, little automated support is available when it comes to setting up and maintaining CI/CD pipelines. We present GH-WCOM (GitHub Workflow COMpletion), a Transformer-based approach supporting developers in writing a specific type of CI/CD pipelines, namely GitHub workflows. To deal with such a task, we designed an abstraction process to help the learning of the transformer while still making GH-WCOM able to recommend very peculiar workflow elements such as tool options and scripting elements. Our empirical study shows that GH-WCOM provides up to 34.23% correct predictions, and the model's confidence is a reliable proxy for the recommendations' correctness likelihood.

BibTeX
@inproceedings{Mastropaolo-al:ICSE24,
  author    = {Antonio Mastropaolo and
               Fiorella Zampetti and
               Gabriele Bavota and
               Massimiliano Di Penta},
  title     = {Toward Automatically Completing {GitHub} Workflows},
  booktitle = {ICSE},
  pages     = {13:1--13:12},
  publisher = {{ACM}},
  year      = {2024},
}

Related papers