From 8d5354eccb04cc441cfdacf6dc9a296386ffbc1f Mon Sep 17 00:00:00 2001 From: Max Howell Date: Wed, 1 Mar 2023 04:05:28 -0500 Subject: [PATCH 1/2] default to GitHub.token Precedent https://github.com/actions/checkout/blob/main/action.yml#L24 --- action.yml | 1 + 1 file changed, 1 insertion(+) diff --git a/action.yml b/action.yml index 4f960bfe..65586adb 100644 --- a/action.yml +++ b/action.yml @@ -6,6 +6,7 @@ inputs: github-token: description: 'Put secrets.GITHUB_TOKEN here' required: true + default: ${{ github.token }} path-to-lcov: description: 'Path to lcov file' required: false From 013563882c4dde37dd7338c36629f0f90ac1f8b3 Mon Sep 17 00:00:00 2001 From: Valentin Kiselev Date: Wed, 1 Mar 2023 12:37:02 +0300 Subject: [PATCH 2/2] fix: use github.token as default --- action.yml | 1 - 1 file changed, 1 deletion(-) diff --git a/action.yml b/action.yml index 65586adb..d40f24f0 100644 --- a/action.yml +++ b/action.yml @@ -5,7 +5,6 @@ author: 'Nick Merwin (Coveralls, Inc.)' inputs: github-token: description: 'Put secrets.GITHUB_TOKEN here' - required: true default: ${{ github.token }} path-to-lcov: description: 'Path to lcov file'