diff --git a/README.md b/README.md index 81e111e..c1a4576 100644 --- a/README.md +++ b/README.md @@ -12,8 +12,6 @@ Github action to install and run [aftman](https://github.com/LPGhatguy/aftman); ```yaml steps: - uses: actions/setup-aftman@v1 - with: - token: ${{ github.token }} ``` ### Parameters @@ -23,7 +21,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 `github.token`|-| +|`token`|Github token from `github.token`|`github.token`| ## Credits [@nezuo](https://github.com/nezuo) - Installing `aftman` using `gh` diff --git a/action.yml b/action.yml index fecad34..e04c2b7 100644 --- a/action.yml +++ b/action.yml @@ -19,6 +19,7 @@ inputs: required: false token: description: 'Github token from `github.token`' + default: '${{ github.token }}' required: true runs: