Skip to content

[Bug][Github] Github deployments without Github Actions #7435

@carocad

Description

@carocad

Search before asking

  • I had searched in the issues 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.

image

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. 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?

  • Yes I am willing to submit a PR!

Code of Conduct

Metadata

Metadata

Assignees

No one assigned

    Labels

    type/bugThis issue is a bug

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions