default to github.token

This commit is contained in:
ok-nick 2022-07-18 11:50:58 -04:00
parent 647243c4a2
commit 88c4233299
2 changed files with 2 additions and 3 deletions

View file

@ -12,8 +12,6 @@ Github action to install and run [aftman](https://github.com/LPGhatguy/aftman);
```yaml ```yaml
steps: steps:
- uses: actions/setup-aftman@v1 - uses: actions/setup-aftman@v1
with:
token: ${{ github.token }}
``` ```
### Parameters ### Parameters
@ -23,7 +21,7 @@ steps:
|`no-trust-check`|Whether to check trusts|`false`| |`no-trust-check`|Whether to check trusts|`false`|
|`trusts`|List of trusted tools separated by spaces|-| |`trusts`|List of trusted tools separated by spaces|-|
|`path`|Path to the `aftman.toml` directory|`./`| |`path`|Path to the `aftman.toml` directory|`./`|
|`token`|Github token from `github.token`|-| |`token`|Github token from `github.token`|`github.token`|
## Credits ## Credits
[@nezuo](https://github.com/nezuo) - Installing `aftman` using `gh` [@nezuo](https://github.com/nezuo) - Installing `aftman` using `gh`

View file

@ -19,6 +19,7 @@ inputs:
required: false required: false
token: token:
description: 'Github token from `github.token`' description: 'Github token from `github.token`'
default: '${{ github.token }}'
required: true required: true
runs: runs: