Open LixingSun opened 2 years ago
I have one workflow deploying to multiple environments, actually the one provided in input (in my case I have only one prod server). Therefore what I'm missing is to select the environment I want to measure on. I don't like to duplicate a workflow for a prod, because I want to ensure this workflow runs fine on lower environments.
Describe the context of this enhancement Currently for Github Actions project, by default for backend it will fetch all workflow for the repo. However in some cases not all workflow are meaningful and never be cared to visualize (e.g. scanning, specific testing, spiking ,etc.). If we could exclude these unimportant workflows, we could speed up the data sync as well as reduce some potential issue may have due to them.
Describe the solution you'd like Enable workflow configuration in the pipeline config.
Task 1: Specify workflows when create Github Actions pipeline
createPipeline
(POST /project/{projectId}/pipeline) API accepts the additional configuration about workflow selections and store into DBTask 2: Update workflows when configure Github Actions pipeline
getPipeline
(GET /project/{projectId}/pipeline/{pipelineId}) API returns the additional configuration about workflow selections from DBupdatePipeline
(PUT /project/{projectId}/pipeline/{pipelineId}) API accepts the additional configuration about workflow selections and store into DBTask 3: Sync data with only configured workflows
Additional context The config of workflow need to store both workflow name and workflow id.
UI position for the new config:![image](https://user-images.githubusercontent.com/19371539/170936392-118de10d-9e7f-43a6-9fd4-c75501187ed6.png)