Open tomsit-ionos opened 3 hours ago
Hello, I tried to solve the issue.
This is what I did:
Implemented functionality to present a run widget for GitHub Actions workflows, create launch configurations, and handle inputs and secrets. This includes adding methods for detecting workflow_dispatch events, creating run widgets, and setting up launch configurations.
You can review changes in this commit: https://github.com/lattaai13/YunaBraska-github-workflow-plugin-74/commit/75e556d4a05a01c584ca9d40e6a04dd3533badf8.
[!CAUTION] Disclaimer: The commit was created by Latta AI and you should never copy paste this code before you check the correctness of generated code. Solution might not be complete, you should use this code as an inspiration only.
This issue was tried to solve for free by Latta AI - https://latta.ai/ourmission
If you no longer want Latta AI to attempt solving issues on your repository, you can block this account.
Is your feature request related to a problem? Please describe.
1. Given there is a
workflow_dispatch
present in a WF yaml.When opening the editor Then present a run widget in editor's left, like this happens for junit tests, scripts, etc.
1.1 When opening the editor Then present a run widget in editor's left, like this happens for junit tests, scripts, etc.
1.2 When right clicking on the file Then present a run menu entry
2. Given the WF is runnable
and it was not run before when it is run then create a launch config
From here on i just convey my ideas in prose form:
3. providing inputs and secrets
if there are inputs/secrets, then a provide means to set them. Ideas on how to do this:
<workflow-file-name>.inputs|secrets.yaml
)4. setting the target branch
Describe alternatives you've considered this could be delegated to the
gh CLI
, e.g.Operating System
Project Version
Additional context