chatbotgang/Scout Spirit Labeler
AI-powered GitHub Action that labels PRs exhibiting Scout Spirit ⚜️ — the Boy Scout Rule of leaving code cleaner than you found it
View on GitHubTrust Signals
- Scorecard Score
- not yet scored
- Maintenance Recency
- Stale
- License
- None
Inputs
| name | description | required | default |
|---|---|---|---|
| github_token | GitHub token for API access | yes | — |
| gemini_api_key | Gemini API key | yes | — |
| model | AI model to use for analysis | no | gemini-2.5-flash |
| confidence_threshold | Minimum confidence score to apply label (0-100) | no | 80 |
| label_name | Label name to apply when PR exhibits Scout Spirit | no | Scout Spirit ⚜️ |
| max_diff_size | Maximum diff size in characters before truncation | no | 50000 |
| add_comment | Whether to add an explanatory comment to the PR | no | true |
Outputs
| name | description |
|---|---|
| eligible | Whether the PR exhibits Scout Spirit |
| confidence | AI confidence score (0-100) |
| category | Detected Scout Spirit category or none |
| reasoning | AI reasoning for the decision |