Add flag to specify a commit message of user's choice (#25)

* Make commit message configurable
Fixes #24

* Update Readme for Commit_message flag

Make commit message configurable #24
This commit is contained in:
Athul Cyriac Ajay
2020-08-02 17:50:23 +05:30
committed by GitHub
parent fa74a6bca2
commit 442c0dae4d
3 changed files with 20 additions and 1 deletions

View File

@@ -145,3 +145,16 @@ Markdown 52 mins █░░░░░░░░░░░░░░░
Docker 16 mins ░░░░░░░░░░░░░░░░░░░░░░░░░ 02.32 %
YAML 7 mins ░░░░░░░░░░░░░░░░░░░░░░░░░ 01.07 %
```
2. You can specify a commit message to overrdie the default _"Updated the Graph with new Metrics"_. Here is how you do it
```yml
- uses: athul/waka-readme@master
with:
WAKATIME_API_KEY: ${{ secrets.WAKATIME_API_KEY }}
GH_TOKEN: ${{ secrets.GH_TOKEN }}
USERNAME: <username>
COMMIT_MESSAGE: Updated the Readme
```
If no commit message is specified in the `yml` file, it defaults to _"Updated the Graph with new Metrics"_