Automatic Categorization of GitHub Actions with Transformers and Few-shot Learning

Fuente: arXiv
Gespeichert in:
Bibliographische Detailangaben
Hauptverfasser: Nguyen, Phuong T., Di Rocco, Juri, Di Sipio, Claudio, Shakya, Mudita, Di Ruscio, Davide, Di Penta, Massimiliano
Format: Preprint
Veröffentlicht: 2024
Schlagworte:
Online-Zugang:
Tags: Tag hinzufügen
Keine Tags, Fügen Sie den ersten Tag hinzu!
_version_ 1866909266798968832
author Nguyen, Phuong T.
Di Rocco, Juri
Di Sipio, Claudio
Shakya, Mudita
Di Ruscio, Davide
Di Penta, Massimiliano
author_facet Nguyen, Phuong T.
Di Rocco, Juri
Di Sipio, Claudio
Shakya, Mudita
Di Ruscio, Davide
Di Penta, Massimiliano
contents In the GitHub ecosystem, workflows are used as an effective means to automate development tasks and to set up a Continuous Integration and Delivery (CI/CD pipeline). GitHub Actions (GHA) have been conceived to provide developers with a practical tool to create and maintain workflows, avoiding reinventing the wheel and cluttering the workflow with shell commands. Properly leveraging the power of GitHub Actions can facilitate the development processes, enhance collaboration, and significantly impact project outcomes. To expose actions to search engines, GitHub allows developers to assign them to one or more categories manually. These are used as an effective means to group actions sharing similar functionality. Nevertheless, while providing a practical way to execute workflows, many actions have unclear purposes, and sometimes they are not categorized. In this work, we bridge such a gap by conceptualizing Gavel, a practical solution to increasing the visibility of actions in GitHub. By leveraging the content of README.MD files for each action, we use Transformer--a deep learning algorithm--to assign suitable categories to the action. We conducted an empirical investigation and compared Gavel with a state-of-the-art baseline. The experimental results show that our proposed approach can assign categories to GitHub actions effectively, thus outperforming the state-of-the-art baseline.
format Preprint
id arxiv_https___arxiv_org_abs_2407_16946
institution arXiv
publishDate 2024
record_format arxiv
spellingShingle Automatic Categorization of GitHub Actions with Transformers and Few-shot Learning
Nguyen, Phuong T.
Di Rocco, Juri
Di Sipio, Claudio
Shakya, Mudita
Di Ruscio, Davide
Di Penta, Massimiliano
Software Engineering
In the GitHub ecosystem, workflows are used as an effective means to automate development tasks and to set up a Continuous Integration and Delivery (CI/CD pipeline). GitHub Actions (GHA) have been conceived to provide developers with a practical tool to create and maintain workflows, avoiding reinventing the wheel and cluttering the workflow with shell commands. Properly leveraging the power of GitHub Actions can facilitate the development processes, enhance collaboration, and significantly impact project outcomes. To expose actions to search engines, GitHub allows developers to assign them to one or more categories manually. These are used as an effective means to group actions sharing similar functionality. Nevertheless, while providing a practical way to execute workflows, many actions have unclear purposes, and sometimes they are not categorized. In this work, we bridge such a gap by conceptualizing Gavel, a practical solution to increasing the visibility of actions in GitHub. By leveraging the content of README.MD files for each action, we use Transformer--a deep learning algorithm--to assign suitable categories to the action. We conducted an empirical investigation and compared Gavel with a state-of-the-art baseline. The experimental results show that our proposed approach can assign categories to GitHub actions effectively, thus outperforming the state-of-the-art baseline.
title Automatic Categorization of GitHub Actions with Transformers and Few-shot Learning
topic Software Engineering
url https://arxiv.org/abs/2407.16946