- GitHub Action inputs - Configure directly in your workflow file
- YAML configuration file - Use a separate config file for easier management
Configuration Priority
Configuration values are resolved in the following order (highest to lowest priority):- Action inputs - Values specified in your workflow’s
with:section - Configuration file - Values from
star-tracker.yml(or custom config path) - Default values - Built-in defaults when no value is provided
Quick Example
Using Action Inputs
Using Configuration File
Createstar-tracker.yml in your repository root:
Configuration File Location
By default, the action looks forstar-tracker.yml in the root of your repository. You can specify a custom location:
The configuration file uses snake_case (e.g.,
include_forks), while action inputs use kebab-case (e.g., include-forks).Configuration Categories
Configuration options are organized into several categories:Inputs
Core action inputs including GitHub authentication and config paths
Filtering
Control which repositories to track and which to exclude
Notifications
Configure email notifications and SMTP settings
Localization
Set language preferences for reports and emails
Complete Example
Here’s a comprehensive configuration showing all available options:star-tracker.yml
Default Values
When no configuration is provided, these defaults are used:| Setting | Default | Description |
|---|---|---|
visibility | all | Track all repositories (public + private) |
include_archived | false | Exclude archived repositories |
include_forks | false | Exclude forked repositories |
min_stars | 0 | No minimum star threshold |
data_branch | star-tracker-data | Branch for storing tracking data |
max_history | 52 | Keep 52 snapshots (~1 year of weekly runs) |
include_charts | true | Generate SVG charts in reports |
locale | en | English language |
notification_threshold | auto | Adaptive notification threshold |
top_repos | 10 | Show top 10 repositories |
track_stargazers | false | Don’t track individual stargazers |
Next Steps
Action Inputs
View all available action inputs with detailed descriptions
Filtering Options
Learn how to filter repositories effectively