Merge pull request #3 from simonecorsi/develop

Develop
This commit is contained in:
Simone Corsi 2021-01-16 09:10:17 +01:00 committed by GitHub
commit 73a046ef79
2 changed files with 22 additions and 2 deletions

View File

@ -1 +1,21 @@
# mawesome
# mawesome
This action query the github api to get starred list of the user and then generates a list ordered by languages.
## Inputs
### `github-token`
The github workflow token is `required`
## Outputs
Output the generated list in the project `README.md`
## Example usage
```yml
uses: simonecorsi/mawesome@v1
with:
github-token: ${{ secrets.GITHUB_TOKEN }}
```

View File

@ -1,7 +1,7 @@
import got from 'got';
import core from '@actions/core';
const GITHUB_TOKEN = core.getInput('githubToken', { required: true });
const GITHUB_TOKEN = core.getInput('github-token', { required: true });
export default got.extend({
headers: {