AlexSim93 / pull-request-analytics-action

Provides informative reports on team and developer metrics, based on data from pull requests and code reviews
MIT License
110 stars 10 forks source link

At most 100 PRs were used even with `AMOUNT: 10000` and `REPORT_PERIOD: 'weeks:4'` #40

Closed gavinliukaiber closed 5 months ago

gavinliukaiber commented 5 months ago

Hi :) Describe the bug At most 100 PRs were used even with AMOUNT: 10000 and REPORT_PERIOD: 'weeks:4'

Expected behavior The report should include all the PRs in the last 4 weeks. And this is my intention.

Configuration

This is how i am calling the action:

    steps:
      - name: 'PR Analytics for last 4 weeks'
        uses: AlexSim93/pull-request-analytics-action@v2
        with:
          REPORT_PERIOD: 'weeks:4'
          ISSUE_TITLE: 'Weekly Analytics for Last Month'
          AMOUNT: 10000
          GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
          GITHUB_REPO_FOR_ISSUE: 'a'
          GITHUB_OWNER_FOR_ISSUE: 'a'
          ORGANIZATIONS: 'a'
          CORE_HOURS_START: '9:00'
          CORE_HOURS_END: '19:00'
          TIMEZONE: 'America/Los_Angeles'
          PERIOD_SPLIT_UNIT: 'none' # Avoid generating additional reports which splits the period

Logs

This is the log:

image

Screenshots

This is the report showing only the last 100 PR was used:

image image

Additional context Add any other context about the problem here.

gavinliukaiber commented 5 months ago

Actually, it seems we have exactly 100 issues in the past 4 weeks. so this is actually expected. sorry for the false alarm!