diff --git a/.github/workflows/contributors_report_testing.yaml b/.github/workflows/contributors_report_testing.yaml index df47e53..37aa0b6 100644 --- a/.github/workflows/contributors_report_testing.yaml +++ b/.github/workflows/contributors_report_testing.yaml @@ -46,7 +46,7 @@ jobs: START_DATE: ${{ env.START_DATE }} END_DATE: ${{ env.END_DATE }} REPOSITORY: ecmwf/anemoi-training - # SHOW_ORGANISATIONS: ecmwf + SHOW_ORGANISATIONS: ecmwf # SPONSOR_INFO: "true" - name: Show Contributor diff --git a/contributors/markdown.py b/contributors/markdown.py index 9d18e03..50d990d 100644 --- a/contributors/markdown.py +++ b/contributors/markdown.py @@ -225,7 +225,7 @@ def get_contributor_table( row += f" {commit_urls} |\n" added_to_org: bool = False - print(show_organisations_list, collaborator.organisations) + for org in collaborator.organisations or []: if org in show_organisations_list: organisation_contributors[org].append(row)