carocad opened a new issue, #7435: URL: https://github.com/apache/incubator-devlake/issues/7435
### Search before asking - [X] I had searched in the [issues](https://github.com/apache/incubator-devlake/issues?q=is%3Aissue) and found no similar issues. ### What happened The devlake documentation says that Github deployment are read in order to compute DORA metrics. However, in several of my (private) projects, I have Github deployments that are created without using Github Actions. In those cases, devlake doesn't detect the Deployments as (it seems to) assume that Deployments can only come from Github Actions as seen [here](https://github.com/apache/incubator-devlake/blob/main/backend/plugins/github/tasks/cicd_run_collector.go#L53). <img width="1024" alt="image" src="https://github.com/apache/incubator-devlake/assets/10408729/9ec12d25-8603-4e25-9809-8dc3956fcbd2"> ### What do you expect to happen devlake should take the Deployment information from the Github Deployment API not from the Github Actions API; see [docs](https://docs.github.com/en/rest/deployments?apiVersion=2022-11-28). As per the previous docs it is possible to create Github deployments without using Github actions. ### How to reproduce - setup a github repository - setup a ci/cd system outside of Github that creates Github Deployments when doing a Deployment - setup devlake to connect to Github and fetch ci/cd information from there - Deployment data will be missing even though Deployments are clearly visible on the Github UI ### Anything else See steps above. It happens every time even with the latest version ### Version v1.0.0-beta6 ### Are you willing to submit PR? - [X] Yes I am willing to submit a PR! ### Code of Conduct - [X] I agree to follow this project's [Code of Conduct](https://www.apache.org/foundation/policies/conduct) -- 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]
