To ensure compatibility with GitHub Actions, Gale should add GitHub's reusable workflows to streamline its CI/CD processes and promote code reuse across repositories, just like GitHub does.
Current Behavior:
gale does not recognize or execute GitHub Actions' reusable workflows.
Desired Behavior:
gale should accurately replicate the behavior of GitHub Actions by recognizing and executing reusable workflows as if they were being run on GitHub.
Ensure a seamless integration, with variables, secrets, environment configurations, and other parameters from the primary workflow being correctly passed to and from the reusable workflow.
Tasks:
Analyze the structure and intricacies of reusable workflows to understand their execution flow and dependencies.
Modify Gale's parsing mechanism to identify reusable workflows within a given GitHub Actions configuration.
Develop functionality to fetch and execute the reusable workflows in the context of the main workflow.
Ensure that parameters, environment variables, and any other shared configurations between the main and reusable workflows are handled correctly.
Conduct thorough testing to validate that reusable workflows execute as expected and yield consistent results with their GitHub counterpart.
Additional Notes:
Consider potential complexities, such as a reusable workflow referencing another reusable workflow or specific GitHub-hosted services.
Description
To ensure compatibility with GitHub Actions, Gale should add GitHub's reusable workflows to streamline its CI/CD processes and promote code reuse across repositories, just like GitHub does.
Current Behavior:
gale
does not recognize or execute GitHub Actions' reusable workflows.Desired Behavior:
gale
should accurately replicate the behavior of GitHub Actions by recognizing and executing reusable workflows as if they were being run on GitHub.Tasks:
Additional Notes: