commit
73a046ef79
22
README.md
22
README.md
@ -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 }}
|
||||
```
|
||||
|
@ -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: {
|
||||
|
Loading…
x
Reference in New Issue
Block a user