Files
repository-dispatch/action.yml
2024-01-25 20:57:43 +09:00

22 lines
661 B
YAML

name: 'Repository Dispatch'
description: 'Create a repository dispatch event'
inputs:
token:
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 }}
event-type:
description: 'A custom webhook event name.'
required: true
client-payload:
description: 'JSON payload with extra information about the webhook event that your action or worklow may use.'
default: '{}'
runs:
using: 'node20'
main: 'dist/index.js'
branding:
icon: 'target'
color: 'gray-dark'