Skip to content

juztcode/repo-ditpatch-action

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

3 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Repository Dispatch - Github action

A GitHub Action to send github repository dispatch event.

Usage

You can use this action after any other action. Here is an example setup of this action:

  1. Create a .github/workflows/dispatch.yml file in your GitHub repo.
  2. Add the following code to the dispatch.yml file.
on: [push]

jobs:
  dispatch_event:
    runs-on: ubuntu-latest
    name: Dispatch event

    steps:
    - uses: juztcode/repo-ditpatch-action@v1
      with:
        event-type: test_event
        token: ${{ secrets.REPO_ACCESS_TOKEN }}
        repository: juztcode/repo-ditpatch-action
  1. You can create github personal access token with this steps.

Inputs

Input Purpose
event-type Repository dispatch event type.
token Github personal access token (With repo scope).
repository Repository name to send dispatch event.
client-payload Client payload (JSON) to send with dispatch event.

About

Repo Event Dispatch - Github plugin

Resources

Stars

Watchers

Forks

Packages

No packages published