bradlet/Collect Workflow Metrics
A Github Action for gathering metrics about workflow runs
View on GitHubTrust Signals
- Scorecard Score
- not yet scored
- Maintenance Recency
- Stale
- License
- None
Inputs
| name | description | required | default |
|---|---|---|---|
| github_token | This should be a token with access to your repository scoped in as a secret. | yes | — |
| git_head | The git ref (branch, tag, or commit SHA) to use as the head for lead time calculation. If provided along with git_base, lead time will be calculated. | no | — |
| git_base | The git ref (branch, tag, or commit SHA) to use as the base for lead time calculation. If provided along with git_head, lead time will be calculated. | no | — |
Outputs
| name | description |
|---|---|
| workflow_runtime_ms | The amount of time it took the calling workflow to run up until this action, in milliseconds. |
| workflow_runtime_human | The amount of time it took the calling workflow to run up until this action, in a human-readable format. |
| workflow_leadtime_ms | The average lead time for changes between git_base and git_head refs, in milliseconds. Only set when both git_head and git_base inputs are provided. |
| workflow_leadtime_human | The average lead time for changes between git_base and git_head refs, in a human-readable format. Only set when both git_head and git_base inputs are provided. |