https://github.com/cloud-native-toolkit/action-repository-dispatch
https://github.com/cloud-native-toolkit/action-repository-dispatch
Last synced: 4 months ago
JSON representation
- Host: GitHub
- URL: https://github.com/cloud-native-toolkit/action-repository-dispatch
- Owner: cloud-native-toolkit
- Created: 2020-12-02T02:17:40.000Z (over 5 years ago)
- Default Branch: main
- Last Pushed: 2025-03-20T00:22:55.000Z (about 1 year ago)
- Last Synced: 2025-06-22T03:02:55.060Z (12 months ago)
- Language: JavaScript
- Size: 1.15 MB
- Stars: 0
- Watchers: 4
- Forks: 0
- Open Issues: 36
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# GitHub Action: Send repository dispatch
Github action that sends a repository dispatch event to the provided repository
## Inputs
### `notifyRepo`
**Required** The git repository to which the event should be sent
### `eventType`
**Optional** The type of event that should be dispatched. Default to `released`
## Environment variables
### `GITHUB_TOKEN`
**Required** The token that should be used to authenticate to the target repository
## Example usage
```yaml
uses: ibm-garage-cloud/action-repository-dispatch@main
with:
notifyRepo: ibm-garage-cloud/ibm-garage-iteration-zero
eventType: released
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
```