Skip to content

geofjamg/broadcast-event

Use this GitHub action with your project
Add this Action to an existing workflow or create a new one
View on Marketplace

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

2 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Broadcast event

Github Action to broadcast an event to all other repositories using repository dispatch event.

Inputs

token (required)

A repo scoped GitHub Personal Access Token.

event-type (required)

A custom event type.

Example usage

Here is an example how to broadcast an event:

uses: geofjamg/[email protected]
with:
  token: ${{ secrets.REPO_ACCESS_TOKEN }}
  event-type: my-event

Here is an example how to trigger a workflow from a repository dispatch event:

name: On event workflow

on:
  repository_dispatch:
    types: my-event

jobs:

License

Apache 2.0