Skip to content

Git hours

Actions
Git hours action
v1.1
Latest
Star (0)

Git hours action

Use git hours to get estimations about the effort spent in a repository

.github/workflows/main.yml

Based on https://github.com/kimmobrunfeldt/git-hours

Running locally

Based on https://github.com/nektos/act

Run:

act -P ubuntu-latest=nektos/act-environments-ubuntu:18.04

Inputs

No inputs needed at this time (WIP).

Outputs

Json data

Json data containing a break down per user email

{
  "[email protected]": {
    "name": "Denis Storti Da Silva",
    "hours": 0,
    "commits": 1
  },
  "total": {
    "hours": 0,
    "commits": 1
  }
}

Example usage

- name: Git hours
  uses: denstorti/git-hours-action@v1
  id: githours
# Use the output from the `hello` step
- name: Get the output 
  run: echo -e '${{steps.githours.outputs.hours}}' 

Also check the example of workflow

Git hours is not certified by GitHub. It is provided by a third-party and is governed by separate terms of service, privacy policy, and support documentation.

About

Git hours action
v1.1
Latest

Git hours is not certified by GitHub. It is provided by a third-party and is governed by separate terms of service, privacy policy, and support documentation.