Skip to content
Permalink

Comparing changes

Choose two branches to see what’s changed or to start a new pull request. If you need to, you can also or learn more about diff comparisons.

Open a pull request

Create a new pull request by comparing changes across two branches. If you need to, you can also . Learn more about diff comparisons here.
base repository: github-community-projects/contributors
Failed to load repositories. Confirm that selected base ref is valid, then try again.
Loading
base: v2.0.1
Choose a base ref
...
head repository: github-community-projects/contributors
Failed to load repositories. Confirm that selected head ref is valid, then try again.
Loading
compare: v2.0.2
Choose a head ref
  • 9 commits
  • 13 files changed
  • 4 contributors

Commits on Feb 24, 2026

  1. fix: Update action.yml to use v2 image (#404)

    * fix: Update action.yml to use v2 image
    
    Unfortunately the tag in action.yml is hardcoded currently. Will automate soon.
    
    * fix: update README to use new major version tag
    
    Signed-off-by: jmeridth <jmeridth@gmail.com>
    
    ---------
    
    Signed-off-by: jmeridth <jmeridth@gmail.com>
    jmeridth authored Feb 24, 2026
    Configuration menu
    Copy the full SHA
    cf2d41d View commit details
    Browse the repository at this point in the history
  2. fix: resolve pylint config errors breaking super-linter (#408)

    ## What
    
    Removed the deprecated `suggestion-mode` option from the pylint config and
    added `too-many-nested-blocks` to the disable list.
    
    ## Why
    
    The `suggestion-mode` option was removed in newer versions of pylint,
    causing an `E0015: Unrecognized option` error that fails the super-linter
    CI job. The `too-many-nested-blocks` violation in `merge_contributors` is
    pre-existing and consistent with the other `too-many-*` rules already
    disabled.
    
    ## Notes
    
    - The nested blocks issue in `contributor_stats.py:112` would benefit from a refactor (dict-based merge instead of nested loops) in a follow-up PR
    - These errors were hidden until super-linter upgraded its bundled pylint version
    - Saw these errors [here](https://github.com/github-community-projects/contributors/actions/runs/22372943481/job/64756293990?pr=394#step:5:488)
    - `suggestion-mode` was [removed in 4.0 of pylin](https://pylint.readthedocs.io/en/latest/whatsnew/4/4.0/index.html)
    
    Signed-off-by: jmeridth <jmeridth@gmail.com>
    jmeridth authored Feb 24, 2026
    Configuration menu
    Copy the full SHA
    66f0aac View commit details
    Browse the repository at this point in the history

Commits on Feb 28, 2026

  1. fix: use commits-first approach to avoid rate limiting and missing co…

    …ntributors
    
    When date filtering is active, fetch commits in the date range directly
    and extract unique authors, instead of iterating all-time contributors
    and making a separate API call per contributor to check for commits.
    
    The previous approach made O(N) API calls where N is the number of
    all-time contributors, which exhausted rate limits on large repos/orgs.
    When rate limiting occurred mid-iteration, the broad exception handler
    silently dropped all contributors for the affected repository.
    
    The new approach makes O(M/30) API calls where M is the number of
    commits in the date range, which is orders of magnitude fewer for
    monthly reports.
    
    Additionally, contribution_count now reflects the actual count for the
    specified period rather than the misleading all-time count.
    
    Fixes #392
    
    Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>
    zkoppert and Copilot committed Feb 28, 2026
    Configuration menu
    Copy the full SHA
    545219a View commit details
    Browse the repository at this point in the history
  2. test: add return value assertions and fix stale test name

    Address PR review feedback:
    - Add return value assertions to test_get_contributors and
      test_get_contributors_skip_bot for stricter contract verification
    - Rename test_get_contributors_skip_users_with_no_commits to
      test_get_contributors_with_single_commit to match actual behavior
    
    Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>
    zkoppert and Copilot committed Feb 28, 2026
    Configuration menu
    Copy the full SHA
    5e52461 View commit details
    Browse the repository at this point in the history
  3. Merge pull request #409 from github-community-projects/fix/contributo…

    …rs-missing-rate-limit
    
    fix: use commits-first approach to avoid rate limiting and missing contributors
    zkoppert authored Feb 28, 2026
    Configuration menu
    Copy the full SHA
    541f0ea View commit details
    Browse the repository at this point in the history

Commits on Mar 2, 2026

  1. Configuration menu
    Copy the full SHA
    c49a985 View commit details
    Browse the repository at this point in the history
  2. Configuration menu
    Copy the full SHA
    1cdbda1 View commit details
    Browse the repository at this point in the history

Commits on Mar 3, 2026

  1. fix: convert app_id to string before login_as_app_installation call

    ### What
    
    Wrapped `gh_app_id` with `str()` in the `login_as_app_installation` call
    in auth.py, and added a targeted test for integer app_id inputs. Existing
    tests were also tightened to assert on exact call arguments.
    
    ### Why
    
    When `gh_app_id` is passed as an integer, PyJWT raises a TypeError on the
    `iss` claim during JWT encoding because it expects a string. This surfaces
    at runtime when the environment variable is parsed as an int rather than str.
    
    ### Notes
    
    - Only `gh_app_id` is converted; `gh_app_installation_id` is left as-is
      since `login_as_app_installation` accepts it in its original form —
      reviewers should verify this is intentional
    - The existing tests previously used `assert_called_once()` without argument
      checks, so bugs like this were invisible; the tightened assertions now
      catch argument type mismatches
    
    Signed-off-by: jmeridth <jmeridth@gmail.com>
    jmeridth committed Mar 3, 2026
    Configuration menu
    Copy the full SHA
    d8b88f5 View commit details
    Browse the repository at this point in the history

Commits on Mar 4, 2026

  1. Merge pull request #413 from github-community-projects/jm_fix_app_id

    fix: convert app_id to string before login_as_app_installation call
    zkoppert authored Mar 4, 2026
    Configuration menu
    Copy the full SHA
    aff93cf View commit details
    Browse the repository at this point in the history
Loading