From 647243c4a2c6eb00b4b15cc2d96e98542e0037fc Mon Sep 17 00:00:00 2001 From: ok-nick <25470747+ok-nick@users.noreply.github.com> Date: Mon, 18 Jul 2022 11:49:36 -0400 Subject: [PATCH] change to `github.token --- CHANGELOG.md | 0 README.md | 4 ++-- action.yml | 2 +- 3 files changed, 3 insertions(+), 3 deletions(-) create mode 100644 CHANGELOG.md 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: