aweris / gale

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

Add Support for GitHub Actions' Triggers and Events #101

Open aweris opened 1 year ago

aweris commented 1 year ago

Description

To enhance the accuracy with which Gale replicates GitHub Actions locally, we need to support various triggers and events. However, given the local context, certain events (e.g., external webhooks, repository dispatches) may not be feasible or logical to simulate. Our goal should be to support those that make sense in a local development environment.

Current Behavior:

Desired Behavior:

Tasks:

  1. Enumerate GitHub Actions events and triggers and categorize them based on feasibility for local simulation.
  2. Update gale's configuration parser to detect and handle the categorized feasible triggers and events within GitHub Actions YAML files.
  3. Develop mechanisms within Gale for users to manually specify or mock these triggers and events.
  4. Ensure that the processed triggers and events initiate workflows in gale in a manner resembling their GitHub counterparts.
  5. Test this new capability with a variety of workflows to ensure consistent and expected behavior.
  6. Enhance gale's user documentation, detailing the support for specific triggers and events and offering guidelines on how to simulate them locally.

Additional Notes: