xavius-rb/Agile Metrics Collector
Collect deployment frequency and lead time for change metrics from GitHub repositories
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 | ${{ github.token }} |
| output-path | Path where metrics JSON file will be saved | no | metrics/delivery_metrics.json |
| commit-results | Whether to commit the metrics file back to the repository | no | true |
| include-merge-commits | Whether to include merge commits in lead time calculations | no | false |
| max-releases | Maximum number of releases to fetch for analysis | no | 100 |
| max-tags | Maximum number of tags to fetch if no releases are found | no | 100 |
| deployment-frequency | Whether to enable deployment frequency metric collection | no | false |
| lead-time | Whether to enable lead time for change metric collection | no | false |
| pr-size | Whether to enable PR size metric collection | no | false |
| pr-maturity | Whether to enable PR maturity metric collection | no | false |
| files-to-ignore | Comma-separated list of file patterns to ignore when calculating PR size | no | "" |
| ignore-line-deletions | Whether to ignore line deletions when calculating PR size | no | false |
| ignore-file-deletions | Whether to ignore file deletions when calculating PR size | no | false |
| team-metrics | Whether to enable team metrics collection | no | false |
| time-period | Time period for team metrics (weekly, fortnightly, monthly) | no | weekly |
| team-metrics-output-path | Path where team metrics report will be saved | no | metrics/team_metrics_report.md |
Outputs
| name | description |
|---|---|
| metrics-json | Complete metrics data as JSON string |
| deployment-frequency | Days between latest and previous deployment |
| lead-time-avg | Average lead time for change in hours |
| lead-time-oldest | Oldest commit lead time in hours |
| lead-time-newest | Newest commit lead time in hours |
| commit-count | Number of commits analyzed |
| metrics-file-path | Path to the generated metrics file |
| pr-size | PR size metric (xs, s, m, l, xl) |
| pr-size-category | PR size category with size/ prefix |
| pr-size-details | Detailed PR size metrics as JSON string |
| pr-maturity-ratio | PR maturity ratio (0.0 to 1.0) |
| pr-maturity-percentage | PR maturity percentage (0 to 100) |
| pr-maturity-details | Detailed PR maturity metrics as JSON string |
| team-metrics-json | Complete team metrics data as JSON string |
| team-metrics-report-path | Path to the generated team metrics report file |