From cf04b96d4ce3e40667baa4e59a1c6afd39dcd080 Mon Sep 17 00:00:00 2001 From: Jinzhe Zeng Date: Tue, 10 Dec 2024 04:26:28 -0500 Subject: [PATCH] set the default value for github-token input See https://github.com/actions/checkout/blob/cbb722410c2e876e24abbe8de2cc27693e501dcb/action.yml#L24 --- action.yml | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/action.yml b/action.yml index 58729e2..c10990c 100644 --- a/action.yml +++ b/action.yml @@ -4,8 +4,9 @@ author: 'WtfJoke (Manuel)' inputs: github-token: - required: true + required: false description: 'The GITHUB_TOKEN secret. Used for querying tectonic releases' + default: ${{ github.token }} tectonic-version: required: false description: 'The version of tectonic to install. A value of `latest` will install the latest version of tectonic. Defaults to `latest`.' @@ -19,4 +20,4 @@ runs: main: 'dist/index.js' branding: icon: book-open - color: gray-dark \ No newline at end of file + color: gray-dark