with: section.
Required Inputs
Personal Access Token (PAT) with
repo or public_repo scope.Important: The default GITHUB_TOKEN does not work because it cannot push to protected branches or access all repositories.GitHub Configuration
GitHub API base URL for GitHub Enterprise Server (e.g.,
https://github.example.com/api/v3).Auto-detected on GHES runners. Only needed if you’re using GitHub Enterprise Server.Path to the configuration file (relative to repository root).
Repository Filtering
These inputs override corresponding values in the configuration file.Repository visibility filter. Available options:
public- Only public repositoriesprivate- Only private repositoriesall- Both public and private repositoriesowned- Only repositories you own (excludes organization repos where you’re a member)
Include archived repositories in tracking.
Include forked repositories in tracking.
Comma-separated list of repository names or regex patterns to exclude.Regular expressions must be wrapped in forward slashes with optional flags: Examples:
/pattern/flagsold-repo- Exact match/^test-.*/- Repos starting with “test-”/draft/i- Repos containing “draft” (case-insensitive)
Comma-separated list of repository names to exclusively track.When set, only these repositories will be tracked (ignoring all other filters).
Only track repositories with at least this many stars.
Data Storage
Branch name for storing tracking data and historical snapshots.
This branch is automatically created and managed by the action.
Maximum number of snapshots to keep in history.Older snapshots are automatically removed. Default is 52 (one year of weekly runs).
Reports and Charts
Include SVG charts in reports.Charts include:
- Star history timeline
- Repository comparison
- Growth forecast
- Individual repository trends
Language for reports and emails.Available locales:
en- English (English)es- Spanish (Español)ca- Catalan (Català)it- Italian (Italiano)
Number of top repositories to feature in charts and forecasts (ranked by star count).
Track individual stargazers and show new ones in reports.When enabled, the action will:
- Track who stars your repositories
- Show new stargazers since the last run
- Include stargazer information in reports
Email Notifications
SMTP server host. Providing this enables built-in email notifications.
SMTP server port.Common ports:
587- TLS/STARTTLS (recommended)465- SSL25- Unencrypted (not recommended)
SMTP authentication username.
SMTP authentication password.
Email recipient address.
Email sender name or address.
Send email even when no star changes are detected.
Star change threshold before sending notification.Options:
0- Send on every run (regardless of changes)<number>- Send when stars change by at least this amount (e.g.,5)auto- Adaptive threshold based on total stars and history
The
auto mode intelligently adjusts the threshold based on your repository activity patterns.Complete Example
Here’s a workflow with all commonly used inputs:.github/workflows/star-tracker.yml
Next Steps
Filtering
Learn advanced repository filtering techniques
Notifications
Configure email notifications and thresholds