-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
2 changed files
with
38 additions
and
1 deletion.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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' |