Skip to content

Commit

Permalink
Initial action
Browse files Browse the repository at this point in the history
  • Loading branch information
denstorti committed Jun 18, 2020
1 parent 40bca38 commit a37fb47
Show file tree
Hide file tree
Showing 2 changed files with 38 additions and 1 deletion.
32 changes: 31 additions & 1 deletion README.md
Original file line number Diff line number Diff line change
@@ -1,2 +1,32 @@
# git-hours-action
# Git hours action
Use git hours to get estimations about the effort spent in a repository

## Inputs

### `who-to-greet`

**Required** The name of the person to greet. Default `"World"`.

## Outputs

### Json data

Json data containing a break down per user email

```
{
"denstorti@users.noreply.github.com": {
"name": "Denis Storti Da Silva",
"hours": 0,
"commits": 1
},
"total": {
"hours": 0,
"commits": 1
}
}
```

## Example usage

uses: actions/git-hours-action@v1
7 changes: 7 additions & 0 deletions action.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,7 @@
# action.yml
name: 'Git hours'
author: "Denis Silva (@denstorti)"
description: 'Git hours action'
runs:
using: 'docker'
image: 'docker://khor/git-hours'

0 comments on commit a37fb47

Please sign in to comment.