Automatic Categorization of GitHub Actions with Transformers and Few-shot Learning
<|reference_start|>Automatic Categorization of GitHub Actions with Transformers and Few-shot Learning: 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.<|reference_end|>
@article{nguyen2024automatic,
    title={Automatic Categorization of GitHub Actions with Transformers and
  Few-shot Learning},
    author={Phuong T. Nguyen and Juri Di Rocco and Claudio Di Sipio and Mudita
  Shakya and Davide Di Ruscio and Massimiliano Di Penta},
    journal={arXiv preprint arXiv:2407.16946},
    year={2024},
    archivePrefix={arXiv},
    eprint={2407.16946},
    primaryClass={cs.SE}
}