use input instead of env to receive github token

Co-authored-by: Platane <me@platane.me>
This commit is contained in:
Awayume
2023-10-09 16:04:10 +09:00
committed by Platane
parent 01fa6d7aac
commit c9644d3dfa
8 changed files with 19 additions and 14 deletions

View File

@@ -10,6 +10,10 @@ inputs:
github_user_name:
description: "github user name"
required: true
github_token:
description: "github token used to fetch the contribution calendar. Default to the action token if empty."
required: false
default: ${{ github.token }}
outputs:
required: false
default: null