Actions
action #103464
closedqa-tools-backlog-assistant: Extract code into a GitHub Action for easier reusing
Start date:
2021-12-03
Due date:
% Done:
0%
Estimated time:
Description
Observation¶
Currently there are two projects originating from the same one:
- https://github.com/os-autoinst/qa-tools-backlog-assistant
- https://github.com/BillAnastasiadis/qe-c-backlog-assistant
Originally the script contained the code and configuration.
Now both projects have diverged because they are tracking different backlogs.
Also both projects have been refactored so that the configuration is not directly in the code anymore.
Other projects wanting to use this assistant have to fork it, but because of local changes they can't easily
- contribute back code improvements
- pull in upstream improvements
Suggestions¶
- Extract code into a GitHub Action, so that projects using it only have to configure it locally via a YAML file.
- https://docs.github.com/en/actions/creating-actions
- Configuration could be done via the workflow file itself (via env vars), but that may include a lot of repetition
- A YAML file read by the code directly might be better
- The workflow configuration currently needs to define every queue separately, see https://github.com/BillAnastasiadis/qe-c-backlog-assistant/blob/master/.github/workflows/backlog_checker.yml#L30 ff. Better might be just one workflow step.
Actions