aweris / gale

GitHub Action Local Executor
Apache License 2.0
142 stars 4 forks source link

Integrate Support for GitHub Actions' Reusable Workflows #100

Open aweris opened 10 months ago

aweris commented 10 months ago

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:

Desired Behavior:

Tasks:

  1. Analyze the structure and intricacies of reusable workflows to understand their execution flow and dependencies.
  2. Modify Gale's parsing mechanism to identify reusable workflows within a given GitHub Actions configuration.
  3. Develop functionality to fetch and execute the reusable workflows in the context of the main workflow.
  4. Ensure that parameters, environment variables, and any other shared configurations between the main and reusable workflows are handled correctly.
  5. Conduct thorough testing to validate that reusable workflows execute as expected and yield consistent results with their GitHub counterpart.

Additional Notes: