vinicius-batista opened a new issue, #5885:
URL: https://github.com/apache/incubator-devlake/issues/5885

   ## Question
   Our CI/CD is based on `release-please` and for every PR merged we deploy to 
our staging environment but for production we only deploy when a release pr was 
merged, otherwise we skip this job, as screen shots bellow.
   
   We have setup our Data Transformation to identify all deploys matching 
`deploy(.*)` and deploys matching `deploy-prod` as production deployments.
   
   But when we made only staging deployment, devlake mark the workflow as a 
production deployment in our metrics. 
   
   There is a way we can setup devlake to avoid this skipped jobs or the best 
approach is to divide our deployments in different workflows?
   
   Thanks.
   ## Screenshots
   Case when deploy-prod was skipped and shouldn't be counted as a production 
deployment
   
![image](https://github.com/apache/incubator-devlake/assets/30128450/1821789a-0e92-41eb-8f52-791e88a177aa)
   
   Case when deploy-prod runs and should be counted as a production deployment
   
![image](https://github.com/apache/incubator-devlake/assets/30128450/b30c72c0-88d9-4d15-9904-1b52da0725fd)
   
   ## Additional context
   Add any other context here.
   


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: [email protected]

For queries about this service, please contact Infrastructure at:
[email protected]

Reply via email to