While running gale on local-only branches, certain workflows are failing. It appears that specific actions, like the checkout action, attempt to pull the complete Git history. This, combined with some API calls meant for the GitHub environment, results in errors when executed on branches that are strictly local.
Current Behavior:
When Gale is run on a local-only branch, workflows that rely on extensive Git history or make certain API calls fail.
Actions like the checkout action seem to try to pull all Git history, leading to issues.
Desired Behavior:
gale should be able to handle workflows on local-only branches by either mocking or bypassing operations that are not feasible locally.
workflows should run seamlessly on local-only branches, providing the developer with accurate feedback without unnecessary errors.
Steps to Reproduce:
Create a local-only branch without pushing it to the remote repository.
Run a workflow with gale that includes actions like checkout.
Observe failures related to pulling complete Git history or making specific API calls.
Potential Solutions:
Implement a mechanism to detect when gale is being run on a local-only branch and adjust the behavior of actions like checkout accordingly.
Offer mock data or bypass certain API calls that are known to cause issues when run in a local context.
Enhance error messaging to guide users on potential workarounds or fixes when encountering such issues.
Additional Notes:
It's essential to determine the list of actions and API calls causing these failures to address them systematically.
Ensure that solutions do not compromise the accuracy with which gale replicates GitHub Actions' behavior, even if some operations are mocked or bypassed.
Description
While running
gale
on local-only branches, certain workflows are failing. It appears that specific actions, like the checkout action, attempt to pull the complete Git history. This, combined with some API calls meant for the GitHub environment, results in errors when executed on branches that are strictly local.Current Behavior:
Gale
is run on a local-only branch, workflows that rely on extensive Git history or make certain API calls fail.Desired Behavior:
gale
should be able to handle workflows on local-only branches by either mocking or bypassing operations that are not feasible locally.Steps to Reproduce:
gale
that includes actions like checkout.Potential Solutions:
gale
is being run on a local-only branch and adjust the behavior of actions like checkout accordingly.Additional Notes:
gale
replicates GitHub Actions' behavior, even if some operations are mocked or bypassed.