change to `github.token

This commit is contained in:
ok-nick 2022-07-18 11:49:36 -04:00
parent d743b8a0ac
commit 647243c4a2
3 changed files with 3 additions and 3 deletions

0
CHANGELOG.md Normal file
View file

View file

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

View file

@ -18,7 +18,7 @@ inputs:
default: './'
required: false
token:
description: 'Github token from `secrets.GITHUB_TOKEN`'
description: 'Github token from `github.token`'
required: true
runs: