diff --git a/.github/workflows/contributors_report_testing.yaml b/.github/workflows/contributors_report_testing.yaml index cebd931..1c1aa8b 100644 --- a/.github/workflows/contributors_report_testing.yaml +++ b/.github/workflows/contributors_report_testing.yaml @@ -49,6 +49,16 @@ jobs: SHOW_ORGANIZATIONS: ecmwf # SPONSOR_INFO: "true" + - name: Run Contributors with multiple repos + run: python -m contributors + env: + GH_TOKEN: ${{ secrets.GITHUB_TOKEN }} + # START_DATE: ${{ env.START_DATE }} + # END_DATE: ${{ env.END_DATE }} + REPOSITORY: hcookie/organizational_contributors,ecmwf/anemoi-training + SHOW_ORGANIZATIONS: ecmwf + # SPONSOR_INFO: "true" + - name: Show Contributor shell: bash run: cat contributors.md >> $GITHUB_STEP_SUMMARY diff --git a/contributors/markdown.py b/contributors/markdown.py index df2712f..49914e0 100644 --- a/contributors/markdown.py +++ b/contributors/markdown.py @@ -191,6 +191,7 @@ def get_contributor_table( contribution_count = collaborator.contribution_count if repository: commit_urls = collaborator.commit_url + print(repository, type(repository)) if organization or len(repository) > 1: # split the urls from the comma separated list and make them into markdown links commit_url_list = collaborator.commit_url.split(",")