From aebc1699294261773e6b5a52e98dde0990d5ce1b Mon Sep 17 00:00:00 2001 From: Peter Evans <18365890+peter-evans@users.noreply.github.com> Date: Wed, 19 Oct 2022 16:27:58 +0900 Subject: [PATCH] Update action config to set a default token --- action.yml | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/action.yml b/action.yml index 95ab44e..a68a086 100644 --- a/action.yml +++ b/action.yml @@ -2,8 +2,8 @@ name: 'Repository Dispatch' description: 'Create a repository dispatch event' inputs: token: - description: 'A repo scoped GitHub Personal Access Token' - required: true + description: 'GITHUB_TOKEN or a `repo` scoped Personal Access Token (PAT)' + default: ${{ github.token }} repository: description: 'The full name of the repository to send the dispatch.' default: ${{ github.repository }}