From f4cd37b3fa7195916fb662a46a94d7beb90d2e2e Mon Sep 17 00:00:00 2001 From: nicolaferraro Date: Wed, 14 Jul 2021 11:56:18 +0200 Subject: [PATCH] Document token --- README.md | 1 + action.yml | 2 +- 2 files changed, 2 insertions(+), 1 deletion(-) diff --git a/README.md b/README.md index ed9b61a..52c5d9a 100644 --- a/README.md +++ b/README.md @@ -16,6 +16,7 @@ For more information, reference the GitHub Help Documentation for [Creating a wo For more information on inputs, see the [API Documentation](https://developer.github.com/v3/repos/releases/#input) - `version`: The Camel K version to use (default: `latest`) +- `github_token`: Optional token used when fetching the latest Camel K release to avoid hitting rate limits (you should set it to `${{ secrets.GITHUB_TOKEN }}`) ### Example Workflow diff --git a/action.yml b/action.yml index efb7ab3..d7cda78 100644 --- a/action.yml +++ b/action.yml @@ -8,7 +8,7 @@ inputs: version: description: "The Camel K version to use (default: latest)" github_token: - description: "The Github token used to retrieve latest release from Github" + description: "Optional token used when fetching the latest Camel K release to avoid hitting rate limits" runs: using: "node12" main: "main.js"