Skip to content

be able to launch workflows that contain the workflow_dispatch event  #74

@tomsit-ionos

Description

@tomsit-ionos

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:

  • provide them in the launch dialog
  • have yaml.json files provide the values (to be config'ed in the launch, default binding could be, <workflow-file-name>.inputs|secrets.yaml)
  • have quick actions to
    • setup the files
    • sync value lists (e.g. warn about missing, non-existing values)
    • navigate to them
4. setting the target branch
  • setting in launch
  • by default the current branch ?

Describe alternatives you've considered
this could be delegated to the gh CLI, e.g.

gh workflow run   <workflow-file-name> --ref `git current-branch`

Operating System

N/A

Project Version

N/A

Additional context

Metadata

Metadata

Assignees

No one assigned

    Labels

    enhancementNew feature or request

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions