Skip to content

Commit

Permalink
Skip sub-landscapes when importing CNCF projects (fixes #642) (#645)
Browse files Browse the repository at this point in the history
Skip sub-landscapes when importing CNCF projects (fixes #900)

Signed-off-by: Chris Abraham <[email protected]>
  • Loading branch information
cjyabraham authored May 15, 2024
1 parent 201f56a commit 9e9254c
Showing 1 changed file with 5 additions and 0 deletions.
5 changes: 5 additions & 0 deletions .github/workflows/updateprojects.py
Original file line number Diff line number Diff line change
Expand Up @@ -23,6 +23,11 @@

with urllib.request.urlopen(landscapeBaseURL) as hostedProjectsResponse:
for project in json.load(hostedProjectsResponse):

# skip sub-landscape projects
if project['category'] in ['Wasm', 'Serverless', 'CNAI']:
continue

print("Processing {}...".format(project['name']))

repo_url = None
Expand Down

0 comments on commit 9e9254c

Please sign in to comment.