Changes Token name
This commit is contained in:
parent
30417a50d4
commit
66fb6bbc52
2
.github/workflows/main.yml
vendored
2
.github/workflows/main.yml
vendored
@ -23,5 +23,5 @@ jobs:
|
|||||||
uses: athul/waka-readme@master
|
uses: athul/waka-readme@master
|
||||||
with:
|
with:
|
||||||
WAKATIME_API_KEY: ${{ secrets.WAKATIME_API_KEY }}
|
WAKATIME_API_KEY: ${{ secrets.WAKATIME_API_KEY }}
|
||||||
GH_TOKEN: ${{ secrets.GIHUB_TOKEN}}
|
GH_TOKEN: ${{ secrets.GH_TOKEN}}
|
||||||
|
|
||||||
|
28
README.md
28
README.md
@ -19,3 +19,31 @@ The lines will be our entrypoints for our metrics.
|
|||||||
- Get your Wakatime API Key and save it as `WAKATIME_API_KEY = <your wakatime API Key>` in your Repository Secrets
|
- Get your Wakatime API Key and save it as `WAKATIME_API_KEY = <your wakatime API Key>` in your Repository Secrets
|
||||||
|
|
||||||
That's it. The Action runs everyday at 00.00 UTC
|
That's it. The Action runs everyday at 00.00 UTC
|
||||||
|
|
||||||
|
----
|
||||||
|
Here is Sample Worflow File
|
||||||
|
|
||||||
|
```yml
|
||||||
|
name: Waka Readme
|
||||||
|
|
||||||
|
on:
|
||||||
|
push:
|
||||||
|
branches: [ master ]
|
||||||
|
schedule:
|
||||||
|
# Runs at 12am UTC
|
||||||
|
- cron: '0 0 * * *'
|
||||||
|
|
||||||
|
jobs:
|
||||||
|
build:
|
||||||
|
runs-on: ubuntu-latest
|
||||||
|
|
||||||
|
steps:
|
||||||
|
- name: Checkout
|
||||||
|
uses: actions/checkout@v2
|
||||||
|
|
||||||
|
- name: Update Readme
|
||||||
|
uses: athul/waka-readme@master
|
||||||
|
with:
|
||||||
|
WAKATIME_API_KEY: ${{ secrets.WAKATIME_API_KEY }}
|
||||||
|
GH_TOKEN: ${{ secrets.GH_TOKEN}}
|
||||||
|
```
|
@ -5,6 +5,7 @@ description: 'Add a Wakatime Coding Activity graph in your Readme'
|
|||||||
inputs:
|
inputs:
|
||||||
GH_TOKEN:
|
GH_TOKEN:
|
||||||
description: 'GitHub access token with Repo scope'
|
description: 'GitHub access token with Repo scope'
|
||||||
|
required: true
|
||||||
default: ${{ github.token }}
|
default: ${{ github.token }}
|
||||||
|
|
||||||
WAKATIME_API_KEY:
|
WAKATIME_API_KEY:
|
||||||
|
Loading…
x
Reference in New Issue
Block a user