In Cortex, any one entity can only be associated with one Git repository (specific folder path). However, for customers looking to list a second repository for Scorecard usage without the full functionality of GitOps for that second repo, we recommend using custom data.
Custom Metadata:
x-cortex-custom-metadata: second-git-repo: - organization/my-repo
Scorecard CQL query:
custom("second-git-repo").allMatch((repo) => git("github:" + repo).fileContents("some-file").matches("asdf"))
Comments
0 comments
Article is closed for comments.