Output Reference
All outputs are set using the@actions/core library in src/application/tracker.ts:254:
Numeric Outputs
total-stars
total-stars
Type: Example:Edge Cases:
string (numeric value)Description: Total star count across all tracked repositories.Source: Computed from Summary.totalStars (see src/domain/types.ts:41):- Returns
"0"if no repositories match filters - Excludes removed repositories from the count
new-stars
new-stars
Type: Example:
string (numeric value)Description: Total stars gained since the last run.Source: Summary.newStars - sum of positive deltas from src/domain/comparison.ts:65:lost-stars
lost-stars
Type: Example:
string (numeric value)Description: Total stars lost since the last run.Source: Summary.lostStars - sum of negative deltas (absolute value) from src/domain/comparison.ts:69:Stars can be lost due to:
- Users unstarring repositories
- Repositories being deleted
- Repositories no longer matching filters
new-stargazers
new-stargazers
Type: Example:Default:
string (numeric value)Description: Number of new individual stargazers (requires track-stargazers: true).Source: StargazerDiffResult.totalNew from src/domain/stargazers.ts:30:"0" if track-stargazers: falseBoolean Outputs
stars-changed
stars-changed
Type: Returns
string ("true" or "false")Description: Whether any star count changes occurred.Source: Summary.changed from src/domain/comparison.ts:73:true if:- Any repository gained or lost stars
- New repositories were added (matching filters)
- Repositories were removed (no longer matching filters or deleted)
Use this output to conditionally trigger downstream actions only when changes occur.
should-notify
should-notify
Type: Threshold Logic:
string ("true" or "false")Description: Whether the notification threshold was reached.Source: Computed in src/application/tracker.ts:128 using shouldNotify() from src/domain/notification.ts:notification-threshold: 0→ Alwaystrueif stars changednotification-threshold: N→trueif delta >= N since last notificationnotification-threshold: auto→ Adaptive percentage-based thresholds:- < 1,000 stars: 1% change
- 1,000 - 10,000 stars: 0.5% change
- > 10,000 stars: 0.1% change
The action’s built-in email notification uses this same logic. This output allows you to trigger custom notifications.
Report Outputs
report
report
Type: Format: GitHub-flavored Markdown with tables, emoji, and image embeds.
string (Markdown format)Description: Complete Markdown report with summary, tables, and embedded chart links.Source: Generated by generateMarkdownReport() in src/presentation/markdown.ts.Contents:- Summary section with total stars and delta
- Table of all repositories with current/previous/delta columns
- New and removed repositories sections
- Stargazer details (if enabled)
- Growth forecast tables (if available)
- Embedded SVG chart images from data branch
report-html
report-html
Type:
string (HTML format)Description: HTML version of the report with inline styles for email compatibility.Source: Generated by generateHtmlReport() in src/presentation/html.ts.Contents: Same data as Markdown report but formatted as HTML with:- Inline CSS (no external stylesheets)
- Responsive tables
- Color-coded delta indicators
- Email client compatibility
This output is used by the built-in email notification feature.
report-csv
report-csv
Type: Columns:Example: Save to artifact
string (CSV format)Description: Machine-readable CSV export for data pipelines and spreadsheets.Source: Generated by generateCsvReport() in src/presentation/csv.ts.Format:Repository: Full repository name (owner/repo)Stars: Current star countPrevious: Previous star count (or 0 for new repos)Delta: Change (+/- or 0)Status:New,Removed,Changed, orUnchanged
Usage Patterns
Conditional Workflow Steps
Trigger steps only when specific conditions are met:Chaining with Other Actions
Pass outputs to subsequent actions:Creating Issues
Automatically create GitHub issues with reports:Custom Notifications
Implement custom notification logic:Data Pipeline Integration
Export data to external systems:Empty Outputs
If no repositories match the configured filters, all outputs are set to empty/zero values:src/application/tracker.ts:233.
Next Steps
Configuration
Configure tracking options and notification thresholds
Email Notifications
Set up built-in SMTP notifications
Examples
See real-world workflow examples
How It Works
Understand the complete execution pipeline