{"id":31785304,"url":"https://github.com/quantecon/action-weekly-report","last_synced_at":"2025-10-10T11:52:52.814Z","repository":{"id":317465067,"uuid":"1067525773","full_name":"QuantEcon/action-weekly-report","owner":"QuantEcon","description":"GitHub Action for generating weekly activity reports across GitHub organizations","archived":false,"fork":false,"pushed_at":"2025-10-01T03:01:47.000Z","size":14,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":0,"default_branch":"main","last_synced_at":"2025-10-01T04:08:26.109Z","etag":null,"topics":["analytics","documentation","github-action","github-api","quantecon","reporting"],"latest_commit_sha":null,"homepage":null,"language":"Shell","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"mit","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/QuantEcon.png","metadata":{"files":{"readme":"README.md","changelog":"CHANGELOG.md","contributing":"CONTRIBUTING.md","funding":null,"license":"LICENSE","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":"SECURITY.md","support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null,"zenodo":null,"notice":null,"maintainers":null,"copyright":null,"agents":null,"dco":null,"cla":null},"funding":{"github":"numfocus","custom":"https://numfocus.org/donate-to-quantecon"}},"created_at":"2025-10-01T01:36:33.000Z","updated_at":"2025-10-01T03:01:50.000Z","dependencies_parsed_at":"2025-10-01T04:09:09.340Z","dependency_job_id":"f1ae062f-9084-4881-b805-d583c348fc00","html_url":"https://github.com/QuantEcon/action-weekly-report","commit_stats":null,"previous_names":["quantecon/action-weekly-report"],"tags_count":1,"template":false,"template_full_name":null,"purl":"pkg:github/QuantEcon/action-weekly-report","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/QuantEcon%2Faction-weekly-report","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/QuantEcon%2Faction-weekly-report/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/QuantEcon%2Faction-weekly-report/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/QuantEcon%2Faction-weekly-report/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/QuantEcon","download_url":"https://codeload.github.com/QuantEcon/action-weekly-report/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/QuantEcon%2Faction-weekly-report/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":279003717,"owners_count":26083610,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","status":"online","status_checked_at":"2025-10-10T02:00:06.843Z","response_time":62,"last_error":null,"robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":true,"can_crawl_api":true,"host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":["analytics","documentation","github-action","github-api","quantecon","reporting"],"created_at":"2025-10-10T11:52:47.985Z","updated_at":"2025-10-10T11:52:52.805Z","avatar_url":"https://github.com/QuantEcon.png","language":"Shell","funding_links":["https://github.com/sponsors/numfocus","https://numfocus.org/donate-to-quantecon"],"categories":[],"sub_categories":[],"readme":"# QuantEcon Weekly Report Action\n\n[![CI](https://github.com/QuantEcon/action-weekly-report/actions/workflows/ci.yml/badge.svg)](https://github.com/QuantEcon/action-weekly-report/actions/workflows/ci.yml)\n[![GitHub Marketplace](https://img.shields.io/badge/Marketplace-Weekly%20Report-blue.svg?colorA=24292e\u0026colorB=0366d6\u0026style=flat\u0026longCache=true\u0026logo=data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAA4AAAAOCAYAAAAfSC3RAAAABHNCSVQICAgIfAhkiAAAAAlwSFlzAAAM6wAADOsB5dZE0gAAABl0RVh0U29mdHdhcmUAd3d3Lmlua3NjYXBlLm9yZ5vuPBoAAAERSURBVCiRhZG/SsMxFEafKoEMFhyrdsFt6FYHNycunTo0Q4LgEhcnW4PgYgchGjoYiQ6ON2ARpK9nCxjUjuIFP+B+h3O/xmE2yVxPOJGkC3RgJ8qA3bQn7SiTKCQdC4J8HDW0v85CZaUHNzxhQcHdJvjZwM4mXaKJ4BdDMKxIsYoim1Smk2X6HPUdCnU5gO5D9POqvayBzY8nwoJJ+G9h9vGB0U8h8dNPgGLKlv1n6cJgAjjfY9lv1CVKq5f3oUAe5dJz9n3RkBhGA1ouJ/hT5a4c8yQQYSdF8vhN5gT1igMgZ9nJgzUqm9E1V+8rbYQhptmEURKA=)](https://github.com/marketplace/actions/quantecon-weekly-report)\n\nA powerful GitHub Action that generates comprehensive weekly activity reports across GitHub organizations. Perfect for tracking team productivity, repository health, and development trends.\n\n## 🎯 Features\n\n- **📊 Comprehensive Analytics**: Issues, PRs, commits, and activity summaries\n- **⚡ Smart Filtering**: Only checks repositories with recent activity for efficiency  \n- **🛡️ Rate Limit Resilient**: Built-in retry logic and configurable delays\n- **📋 Multiple Formats**: Markdown and JSON output options\n- **🎛️ Highly Configurable**: Exclude repositories, custom delays, flexible reporting\n- **🔄 Fallback Mechanisms**: Ensures complete coverage even when filtering fails\n\n## Features\n\nThis action generates a report containing:\n- Number of issues opened by repository (last 7 days)\n- Number of issues closed by repository (last 7 days)  \n- Number of PRs merged by repository (last 7 days)\n- Summary totals across all repositories\n\n### Efficiency Features\n- **Smart repository filtering**: Uses GitHub Search API to identify repositories with recent activity (commits in the last 7 days) before checking for issues and PRs\n- **Fallback mechanism**: If no repositories are found with recent commits, falls back to checking all organization repositories to ensure complete coverage\n- **Activity-based reporting**: Only includes repositories with actual activity in the generated report\n- **Rate limit handling**: Automatically retries on rate limit errors with exponential backoff, and provides clear warnings when data is incomplete\n- **Configurable delays**: Optional delays between API calls to reduce rate limit pressure\n\n## Usage\n\n```yaml\n- name: Generate weekly report\n  uses: QuantEcon/action-weekly-report@v1\n  with:\n    github-token: ${{ secrets.GITHUB_TOKEN }}\n    organization: 'QuantEcon'\n    output-format: 'markdown'\n    exclude-repos: 'lecture-python.notebooks,auto-updated-repo'\n    api-delay: '1'  # Add 1 second delay between API calls to avoid rate limits\n```\n\n## Inputs\n\n| Input | Description | Required | Default |\n|-------|-------------|----------|---------|\n| `github-token` | GitHub token with access to the organization | Yes | - |\n| `organization` | GitHub organization name | No | `QuantEcon` |\n| `output-format` | Output format (`markdown` or `json`) | No | `markdown` |\n| `exclude-repos` | Comma-separated list of repository names to exclude from the report | No | `''` |\n| `api-delay` | Delay in seconds between API calls to avoid rate limits (0 = no delay) | No | `0` |\n\n## Outputs\n\n| Output | Description |\n|--------|-------------|\n| `report-content` | The full generated report content |\n| `report-summary` | A brief summary of the report metrics |\n\n## Permissions\n\nThe GitHub token must have read access to:\n- Organization repositories\n- Repository issues\n- Repository pull requests\n\n## Example Workflow\n\nSee the [weekly report workflow](../../workflows/weekly-report.yml) for a complete example that runs every Saturday and creates an issue with the report.\n\n## Report Format\n\nThe generated markdown report includes:\n- A summary table showing activity by repository\n- Total counts across all repositories\n- Data completeness warnings if API calls failed due to rate limits or other errors\n- Report metadata (generation date, period covered)\n\nOnly repositories with activity in the reporting period are included in the detailed table.\n\n## Rate Limiting\n\nGitHub's API has rate limits (5000 requests/hour for authenticated requests). For large organizations:\n\n- **Monitor warnings**: The report will include warnings when rate limits are hit\n- **Add delays**: Use the `api-delay` parameter to add delays between requests (e.g., `api-delay: '1'` for 1 second delays)\n- **Run during off-peak**: Schedule reports during off-peak hours to avoid conflicts with other API usage\n- **Incomplete data**: When rate limited, the report will show `0` for affected repositories and include a warning","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fquantecon%2Faction-weekly-report","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fquantecon%2Faction-weekly-report","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fquantecon%2Faction-weekly-report/lists"}