Update action config to set a default token

This commit is contained in:
Peter Evans
2022-10-19 16:27:58 +09:00
parent b700ade2f3
commit aebc169929

View File

@@ -2,8 +2,8 @@ name: 'Repository Dispatch'
description: 'Create a repository dispatch event' description: 'Create a repository dispatch event'
inputs: inputs:
token: token:
description: 'A repo scoped GitHub Personal Access Token' description: 'GITHUB_TOKEN or a `repo` scoped Personal Access Token (PAT)'
required: true default: ${{ github.token }}
repository: repository:
description: 'The full name of the repository to send the dispatch.' description: 'The full name of the repository to send the dispatch.'
default: ${{ github.repository }} default: ${{ github.repository }}