ncalteen/GitHub Contribution Summary
Generates a summary of your GitHub contributions as an issue
View on GitHubTrust Signals
- Scorecard Score
- not yet scored
- Maintenance Recency
- Stale
- License
- None
Inputs
| name | description | required | default |
|---|---|---|---|
| contribution_tokens_api_urls | A newline-separated list of GitHub tokens and API URLs for authenticating and getting contribution data. For example, if you have separate account(s) for GitHub Enterprise Cloud and GitHub Enterprise Cloud with Data Residency (ghe.com). The format for each entry is `token@api_url`, where `api_url` is optional and defaults to `https://api.github.com`. | yes | — |
| include_comments | Set this to true to include comment bodies in the prompt sent to OpenAI (this can result in the context length being exceeded!). Defaults to false. | no | false |
| num_days | The number of days to look back. Defaults to 14. | yes | 14 |
| openai_model | (Optional) OpenAI API model for generating the summary. This will be added as a comment to the issue that is created. | no | gpt-4o-mini |
| openai_project | (Optional) OpenAI API project for generating the summary. This will be added as a comment to the issue that is created. | no | — |
| openai_token | (Optional) OpenAI API token for generating the summary. This will be added as a comment to the issue that is created. | no | — |
| summary_issue_api_url | The GitHub API URL to use for creating the summary issue. Defaults to `https://api.github.com`. | yes | https://api.github.com |
| summary_issue_token | GitHub.com authentication token with permissions to write issues (and optionally projects). This is used to create the summary issue. | yes | ${{ github.token }} |
| project_number | (Optional) The project number to create the summary issue in. | no | — |
| repository | The owner and repository to create the summary issue in. Defaults to the repository where this action is invoked. Format: `owner/repo.` If you want to create the issue in a different repository than the one where you are running this action, ensure the `token` input has sufficient permissions. | yes | ${{ github.repository }} |
Outputs
no outputs