daraan/GitHub PR Stats Action
Generate stat card images about merged PR in GitHub Actions (aggregated by organization).
View on GitHubTrust Signals
- Scorecard Score
- not yet scored
- Maintenance Recency
- Stale
- License
- None
Inputs
| name | description | required | default |
|---|---|---|---|
| card | Card type to generate (prs). | no | prs |
| options | Options for the card (query string or JSON). | no | "" |
| path | Output path for SVG file (relative path; include filename with .svg). For prs cards, this is a filename prefix. | no | "" |
| token | GitHub token (PAT or GITHUB_TOKEN). | no | "" |
| username | GitHub username. Overrides `username` in options. | no | "" |
| theme | Card theme name. Overrides `theme` in options. | no | "" |
| title_color | Title hex color (without \#). Overrides `title_color` in options. | no | "" |
| text_color | Text hex color (without \#). Overrides `text_color` in options. | no | "" |
| icon_color | Icon hex color (without \#). Overrides `icon_color` in options. | no | "" |
| bg_color | Background hex color (without \#). Overrides `bg_color` in options. | no | "" |
| border_color | Border hex color (without \#). Overrides `border_color` in options. | no | "" |
| hide_border | Hide the card border (true/false). Overrides `hide_border` in options. | no | "" |
| border_radius | Card border radius. Overrides `border_radius` in options. | no | "" |
| exclude | Comma-separated repo name substrings to exclude. Overrides `exclude` in options. | no | "" |
| includes | Comma-separated "owner/repo" names to always include, even if they have no merged PRs or are forks. Overrides `includes` in options. | no | "" |
| custom_images | Custom image URLs for specific repositories, overriding the default owner avatar. Provide one mapping per line in "repo_name: image_url" format. The key can be a full repo name ("owner/repo"), a short repo name ("repo"), or an org/user login. Example: MyRepo: https://example.com/my-repo-logo.png owner/OtherRepo: https://example.com/other-logo.svg | no | "" |
Outputs
| name | description |
|---|---|
| path | Path where the SVG file was written. |