diff --git a/CHANGELOG.md b/CHANGELOG.md new file mode 100644 index 0000000..e69de29 diff --git a/README.md b/README.md index 64b105f..81e111e 100644 --- a/README.md +++ b/README.md @@ -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` diff --git a/action.yml b/action.yml index a5e514b..fecad34 100644 --- a/action.yml +++ b/action.yml @@ -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: